pub struct DataField {
pub name: Ident,
pub typ: DataType,
pub optional: Option<Span>,
pub value: Option<Value>,
}
Fields§
§name: Ident
§typ: DataType
§optional: Option<Span>
§value: Option<Value>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataField
impl RefUnwindSafe for DataField
impl !Send for DataField
impl !Sync for DataField
impl Unpin for DataField
impl UnwindSafe for DataField
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