pub struct AttributeField<'a> {
pub name: &'a str,
pub source: FieldSource<'a>,
}Expand description
One field of an AttributeStruct and where its value comes from.
Fields§
§name: &'a strThe target struct field name.
source: FieldSource<'a>Where the field’s value comes from.
Trait Implementations§
Source§impl<'a> Clone for AttributeField<'a>
impl<'a> Clone for AttributeField<'a>
Auto Trait Implementations§
impl<'a> Freeze for AttributeField<'a>
impl<'a> RefUnwindSafe for AttributeField<'a>
impl<'a> Send for AttributeField<'a>
impl<'a> Sync for AttributeField<'a>
impl<'a> Unpin for AttributeField<'a>
impl<'a> UnsafeUnpin for AttributeField<'a>
impl<'a> UnwindSafe for AttributeField<'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