pub struct Field { /* private fields */ }Implementations§
Source§impl Field
impl Field
pub const fn new( ident: &'static str, value: Value, default: Option<Arg>, generated: Option<FieldGeneration>, write_management: Option<FieldWriteManagement>, ) -> Self
pub const fn ident(&self) -> &'static str
pub const fn value(&self) -> &Value
pub const fn default(&self) -> Option<&Arg>
pub const fn generated(&self) -> Option<&FieldGeneration>
pub const fn write_management(&self) -> Option<FieldWriteManagement>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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