pub struct FieldValue<'a, S> {
pub name: S,
pub value: Value<'a, S>,
}Fields§
§name: S§value: Value<'a, S>Implementations§
Source§impl<'a> FieldValue<'a, &'a str>
impl<'a> FieldValue<'a, &'a str>
pub fn to_owned(self) -> FieldValueOwned
Trait Implementations§
Source§impl<'a, S: Clone> Clone for FieldValue<'a, S>
impl<'a, S: Clone> Clone for FieldValue<'a, S>
Source§fn clone(&self) -> FieldValue<'a, S>
fn clone(&self) -> FieldValue<'a, S>
Returns a duplicate 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, S: Debug> Debug for FieldValue<'a, S>
impl<'a, S: Debug> Debug for FieldValue<'a, S>
impl<'a, S: Copy> Copy for FieldValue<'a, S>
Auto Trait Implementations§
impl<'a, S> Freeze for FieldValue<'a, S>where
S: Freeze,
impl<'a, S> RefUnwindSafe for FieldValue<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for FieldValue<'a, S>where
S: Send,
impl<'a, S> Sync for FieldValue<'a, S>where
S: Sync,
impl<'a, S> Unpin for FieldValue<'a, S>where
S: Unpin,
impl<'a, S> UnwindSafe for FieldValue<'a, S>where
S: UnwindSafe,
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