pub struct NodeSchema {
pub fields: Vec<FieldSpec>,
}Expand description
Config schema of a node type.
Fields§
§fields: Vec<FieldSpec>Fields in declaration order.
Trait Implementations§
Source§impl Clone for NodeSchema
impl Clone for NodeSchema
Source§fn clone(&self) -> NodeSchema
fn clone(&self) -> NodeSchema
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodeSchema
impl Debug for NodeSchema
Source§impl Default for NodeSchema
impl Default for NodeSchema
Source§fn default() -> NodeSchema
fn default() -> NodeSchema
Returns the “default value” for a type. Read more
impl Eq for NodeSchema
Source§impl PartialEq for NodeSchema
impl PartialEq for NodeSchema
impl StructuralPartialEq for NodeSchema
Auto Trait Implementations§
impl Freeze for NodeSchema
impl RefUnwindSafe for NodeSchema
impl Send for NodeSchema
impl Sync for NodeSchema
impl Unpin for NodeSchema
impl UnsafeUnpin for NodeSchema
impl UnwindSafe for NodeSchema
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