pub struct NodeSchema {
pub label: String,
pub properties: Vec<PropertySchema>,
}Expand description
Schema for a single node label.
Fields§
§label: String§properties: Vec<PropertySchema>Implementations§
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
Source§impl<'de> Deserialize<'de> for NodeSchema
impl<'de> Deserialize<'de> for NodeSchema
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NodeSchema
impl PartialEq for NodeSchema
Source§fn eq(&self, other: &NodeSchema) -> bool
fn eq(&self, other: &NodeSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodeSchema
impl Serialize for NodeSchema
impl Eq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.