pub enum SchemaDecl {
Interface(InterfaceDecl),
Node(NodeDecl),
Edge(EdgeDecl),
}Variants§
Trait Implementations§
Source§impl Clone for SchemaDecl
impl Clone for SchemaDecl
Source§fn clone(&self) -> SchemaDecl
fn clone(&self) -> SchemaDecl
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 SchemaDecl
impl Debug for SchemaDecl
Source§impl<'de> Deserialize<'de> for SchemaDecl
impl<'de> Deserialize<'de> for SchemaDecl
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 SchemaDecl
impl PartialEq for SchemaDecl
Source§fn eq(&self, other: &SchemaDecl) -> bool
fn eq(&self, other: &SchemaDecl) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SchemaDecl
impl Serialize for SchemaDecl
impl StructuralPartialEq for SchemaDecl
Auto Trait Implementations§
impl Freeze for SchemaDecl
impl RefUnwindSafe for SchemaDecl
impl Send for SchemaDecl
impl Sync for SchemaDecl
impl Unpin for SchemaDecl
impl UnsafeUnpin for SchemaDecl
impl UnwindSafe for SchemaDecl
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