pub struct EdgeConnection {
pub name: Option<String>,
pub description: Option<String>,
pub type: InstanceId,
pub direction: Option<QueryDirection>,
pub source: TaggedViewReference,
pub edge_source: Option<TaggedViewReference>,
}Expand description
Definition of a connection going through an edge.
Fields§
§name: Option<String>Readable connection name.
description: Option<String>Description of the connection.
type: InstanceIdReference to the node pointed to by the edge type. Consists of a space and an external ID.
direction: Option<QueryDirection>Direction of the connection. Defaults to outwards.
source: TaggedViewReferenceWhich view this connection references.
edge_source: Option<TaggedViewReference>Which view the edges of this connection belong to.
Trait Implementations§
Source§impl Clone for EdgeConnection
impl Clone for EdgeConnection
Source§fn clone(&self) -> EdgeConnection
fn clone(&self) -> EdgeConnection
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 EdgeConnection
impl Debug for EdgeConnection
Source§impl<'de> Deserialize<'de> for EdgeConnection
impl<'de> Deserialize<'de> for EdgeConnection
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 EdgeConnection
impl RefUnwindSafe for EdgeConnection
impl Send for EdgeConnection
impl Sync for EdgeConnection
impl Unpin for EdgeConnection
impl UnwindSafe for EdgeConnection
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