pub enum ConnectionDefinition {
SingleEdgeConnection(EdgeConnection),
MultiEdgeConnection(EdgeConnection),
SingleReverseDirectRelation(ReverseDirectRelationConnection),
MultiReverseDirectRelation(ReverseDirectRelationConnection),
}Expand description
Definition of a connection. Describes edges or reverse direct relations that are expected to exist.
Variants§
SingleEdgeConnection(EdgeConnection)
A single edge is expected to exist.
MultiEdgeConnection(EdgeConnection)
Multiple edges are expected to exist.
SingleReverseDirectRelation(ReverseDirectRelationConnection)
A single reverse direct relation is expected to exist.
MultiReverseDirectRelation(ReverseDirectRelationConnection)
Multiple reverse direct relations are expected to exist.
Trait Implementations§
Source§impl Clone for ConnectionDefinition
impl Clone for ConnectionDefinition
Source§fn clone(&self) -> ConnectionDefinition
fn clone(&self) -> ConnectionDefinition
Returns a duplicate of the value. Read more
1.0.0 · 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 ConnectionDefinition
impl Debug for ConnectionDefinition
Source§impl<'de> Deserialize<'de> for ConnectionDefinition
impl<'de> Deserialize<'de> for ConnectionDefinition
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
Auto Trait Implementations§
impl Freeze for ConnectionDefinition
impl RefUnwindSafe for ConnectionDefinition
impl Send for ConnectionDefinition
impl Sync for ConnectionDefinition
impl Unpin for ConnectionDefinition
impl UnwindSafe for ConnectionDefinition
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