pub struct Field {
pub field_type: Type,
pub name: String,
pub default_value: Option<Value>,
pub annotations: Annotations,
}Expand description
Field definition
Fields§
§field_type: TypeType of the field
name: StringName of the field
default_value: Option<Value>Default value (if any)
annotations: AnnotationsAnnotations attached to this field
Implementations§
Trait Implementations§
impl StructuralPartialEq for Field
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