pub struct EdgeConstraint {
pub relationship_type: RelationshipType,
pub source_type: GraphEntityType,
pub target_type: GraphEntityType,
pub cardinality: Cardinality,
pub edge_properties: &'static [&'static str],
}Expand description
Constraint on an edge type: valid source/target entity types and cardinality.
Fields§
§relationship_type: RelationshipType§source_type: GraphEntityType§target_type: GraphEntityType§cardinality: Cardinality§edge_properties: &'static [&'static str]Trait Implementations§
Source§impl Clone for EdgeConstraint
impl Clone for EdgeConstraint
Source§fn clone(&self) -> EdgeConstraint
fn clone(&self) -> EdgeConstraint
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 moreAuto Trait Implementations§
impl Freeze for EdgeConstraint
impl RefUnwindSafe for EdgeConstraint
impl Send for EdgeConstraint
impl Sync for EdgeConstraint
impl Unpin for EdgeConstraint
impl UnsafeUnpin for EdgeConstraint
impl UnwindSafe for EdgeConstraint
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