pub struct ParameterRef<'a>(/* private fields */);
Expand description
Reference to a deserialized Parameter.
Implementations§
Source§impl<'a> ParameterRef<'a>
impl<'a> ParameterRef<'a>
Sourcepub fn name(&self) -> Result<&'a str>
pub fn name(&self) -> Result<&'a str>
Getter for the name
field.
Sourcepub fn value(&self) -> Result<ValueRef<'a>>
pub fn value(&self) -> Result<ValueRef<'a>>
Getter for the value
field.
Trait Implementations§
Source§impl<'a> Clone for ParameterRef<'a>
impl<'a> Clone for ParameterRef<'a>
Source§fn clone(&self) -> ParameterRef<'a>
fn clone(&self) -> ParameterRef<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for ParameterRef<'a>
impl<'a> Debug for ParameterRef<'a>
Source§impl<'a> ReadAsRoot<'a> for ParameterRef<'a>
impl<'a> ReadAsRoot<'a> for ParameterRef<'a>
Source§impl<'a> TryFrom<ParameterRef<'a>> for Parameter
impl<'a> TryFrom<ParameterRef<'a>> for Parameter
impl<'a> Copy for ParameterRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParameterRef<'a>
impl<'a> RefUnwindSafe for ParameterRef<'a>
impl<'a> Send for ParameterRef<'a>
impl<'a> Sync for ParameterRef<'a>
impl<'a> Unpin for ParameterRef<'a>
impl<'a> UnwindSafe for ParameterRef<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more