Skip to main content

TwoPTwoPId

Trait TwoPTwoPId 

Source
pub trait TwoPTwoPId<Id> {
    // Required method
    fn id(&self) -> &Id;
}
Expand description

Common trait for all operation types, providing a unique identifier.

Required Methods§

Source

fn id(&self) -> &Id

Returns the unique identifier of this operation.

Implementors§

Source§

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

Source§

impl TwoPTwoPId<Uuid> for crdt_graph::types::bytes::AddVertex

Source§

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

Source§

impl TwoPTwoPId<Uuid> for crdt_graph::types::simple::AddVertex

Source§

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

Source§

impl TwoPTwoPId<Uuid> for crdt_graph::types::string::AddVertex

Source§

impl TwoPTwoPId<Uuid> for RemoveEdge

Source§

impl TwoPTwoPId<Uuid> for RemoveVertex