pub struct FieldNode {
pub name: String,
pub schema: u32,
pub required: bool,
pub doc: String,
}Expand description
A Field with its schema as an index.
Fields§
§name: StringField::name — the wire (kebab-case) key.
schema: u32Index of the field’s schema node in the same arena.
required: bool§doc: StringTrait Implementations§
impl Eq for FieldNode
impl StructuralPartialEq for FieldNode
Auto Trait Implementations§
impl Freeze for FieldNode
impl RefUnwindSafe for FieldNode
impl Send for FieldNode
impl Sync for FieldNode
impl Unpin for FieldNode
impl UnsafeUnpin for FieldNode
impl UnwindSafe for FieldNode
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