pub struct EdgeDefinition {
pub collection: String,
pub from: Vec<String>,
pub to: Vec<String>,
}Expand description
Represents one Edge definition for a Graph Creation.
Fields§
§collection: StringName of the edge collection
from: Vec<String>List of the _from collection names
to: Vec<String>List of the _to collection names
Trait Implementations§
Source§impl Clone for EdgeDefinition
impl Clone for EdgeDefinition
Source§fn clone(&self) -> EdgeDefinition
fn clone(&self) -> EdgeDefinition
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 EdgeDefinition
impl Debug for EdgeDefinition
Source§impl<'de> Deserialize<'de> for EdgeDefinition
impl<'de> Deserialize<'de> for EdgeDefinition
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 EdgeDefinition
impl RefUnwindSafe for EdgeDefinition
impl Send for EdgeDefinition
impl Sync for EdgeDefinition
impl Unpin for EdgeDefinition
impl UnwindSafe for EdgeDefinition
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