[][src]Struct crdts::lseq::Entry

pub struct Entry<T, A: Actor> {
    pub id: Identifier<A>,
    pub dot: Dot<A>,
    pub val: T,
}

An Entry to the LSEQ consists of:

Fields

id: Identifier<A>

The identifier of the entry.

dot: Dot<A>

The site id that inserted this entry.

val: T

The element for the entry.

Trait Implementations

impl<T: Clone, A: Clone + Actor> Clone for Entry<T, A>[src]

impl<T: Debug, A: Debug + Actor> Debug for Entry<T, A>[src]

impl<'de, T, A: Actor> Deserialize<'de> for Entry<T, A> where
    T: Deserialize<'de>,
    A: Deserialize<'de>, 
[src]

impl<T: Eq, A: Eq + Actor> Eq for Entry<T, A>[src]

impl<T: Hash, A: Hash + Actor> Hash for Entry<T, A>[src]

impl<T: PartialEq, A: PartialEq + Actor> PartialEq<Entry<T, A>> for Entry<T, A>[src]

impl<T: PartialOrd, A: PartialOrd + Actor> PartialOrd<Entry<T, A>> for Entry<T, A>[src]

impl<T, A: Actor> Serialize for Entry<T, A> where
    T: Serialize,
    A: Serialize
[src]

impl<T, A: Actor> StructuralEq for Entry<T, A>[src]

impl<T, A: Actor> StructuralPartialEq for Entry<T, A>[src]

Auto Trait Implementations

impl<T, A> RefUnwindSafe for Entry<T, A> where
    A: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, A> Send for Entry<T, A> where
    A: Send,
    T: Send

impl<T, A> Sync for Entry<T, A> where
    A: Sync,
    T: Sync

impl<T, A> Unpin for Entry<T, A> where
    A: Unpin,
    T: Unpin

impl<T, A> UnwindSafe for Entry<T, A> where
    A: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Member for T where
    T: Clone + Eq + Hash
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,