Struct dbase::NamedValue
source · pub struct NamedValue<'a, T> {
pub name: &'a str,
pub value: T,
}
Expand description
Simple struct to wrap together the value with the name of the field it belongs to
Fields§
§name: &'a str
Reference to the field name the value belongs to
value: T
The value
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for NamedValue<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for NamedValue<'a, T>where
T: Send,
impl<'a, T> Sync for NamedValue<'a, T>where
T: Sync,
impl<'a, T> Unpin for NamedValue<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for NamedValue<'a, T>where
T: 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