Skip to main content

TwoPTwoPAddEdge

Trait TwoPTwoPAddEdge 

Source
pub trait TwoPTwoPAddEdge<Id>: TwoPTwoPId<Id> {
    // Required methods
    fn source(&self) -> &Id;
    fn target(&self) -> &Id;
}
Expand description

Trait for an edge-add operation, specifying source and target vertices.

Required Methods§

Source

fn source(&self) -> &Id

Returns the source vertex ID.

Source

fn target(&self) -> &Id

Returns the target vertex ID.

Implementors§

Source§

impl TwoPTwoPAddEdge<Uuid> for crdt_graph::types::bytes::AddEdge

Source§

impl TwoPTwoPAddEdge<Uuid> for crdt_graph::types::simple::AddEdge

Source§

impl TwoPTwoPAddEdge<Uuid> for crdt_graph::types::string::AddEdge