pub struct EdgeSpec {
pub type_id: GtsTypeId,
pub src_node_key: NodeKey,
pub dst_node_key: NodeKey,
pub discriminator: Option<String>,
pub payload: Option<Value>,
}Expand description
An edge submitted for ingest, addressed by its endpoint node keys.
Fields§
§type_id: GtsTypeId§src_node_key: NodeKey§dst_node_key: NodeKey§discriminator: Option<String>Distinguishes parallel edges of one type between one endpoint pair.
payload: Option<Value>Trait Implementations§
impl StructuralPartialEq for EdgeSpec
Auto Trait Implementations§
impl Freeze for EdgeSpec
impl RefUnwindSafe for EdgeSpec
impl Send for EdgeSpec
impl Sync for EdgeSpec
impl Unpin for EdgeSpec
impl UnsafeUnpin for EdgeSpec
impl UnwindSafe for EdgeSpec
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