pub struct EdgeView {
pub edge_key: EdgeKey,
pub edge_type_id: GtsTypeId,
pub src: NodeKey,
pub dst: NodeKey,
pub discriminator: Option<String>,
pub payload: Option<Value>,
pub envelope: ElementEnvelope,
}Expand description
An edge as the edge read returns it.
The topology references (EdgeRef, AdjacencyEntry) stay what they are –
a key, a type and two endpoints. This is the element form: payload and the
audit envelope fr-audit-envelope asks every returned edge to carry.
Fields§
§edge_key: EdgeKey§edge_type_id: GtsTypeId§src: NodeKey§dst: NodeKey§discriminator: Option<String>Distinguishes parallel edges of one type between one endpoint pair.
payload: Option<Value>§envelope: ElementEnvelopeGear-assigned audit envelope (fr-audit-envelope).
Trait Implementations§
impl StructuralPartialEq for EdgeView
Auto Trait Implementations§
impl Freeze for EdgeView
impl RefUnwindSafe for EdgeView
impl Send for EdgeView
impl Sync for EdgeView
impl Unpin for EdgeView
impl UnsafeUnpin for EdgeView
impl UnwindSafe for EdgeView
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