pub struct OwnedField {
pub name: &'static str,
pub value: FieldValue,
}Expand description
One named structured field.
Fields§
§name: &'static str§value: FieldValueTrait Implementations§
Source§impl Clone for OwnedField
impl Clone for OwnedField
Source§fn clone(&self) -> OwnedField
fn clone(&self) -> OwnedField
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 Debug for OwnedField
impl Debug for OwnedField
Source§impl PartialEq for OwnedField
impl PartialEq for OwnedField
impl StructuralPartialEq for OwnedField
Auto Trait Implementations§
impl Freeze for OwnedField
impl RefUnwindSafe for OwnedField
impl Send for OwnedField
impl Sync for OwnedField
impl Unpin for OwnedField
impl UnsafeUnpin for OwnedField
impl UnwindSafe for OwnedField
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