[][src]Struct overlord::types::Commit

pub struct Commit<T: Codec> {
    pub height: u64,
    pub content: T,
    pub proof: Proof,
}

A commit.

Fields

height: u64

Height of the commit.

content: T

Commit content.

proof: Proof

The consensus proof.

Trait Implementations

impl<T: Clone + Codec> Clone for Commit<T>[src]

impl<T: Debug + Codec> Debug for Commit<T>[src]

impl<T: Codec> Decodable for Commit<T>[src]

impl<T: Codec> Display for Commit<T>[src]

impl<T: Codec> Encodable for Commit<T>[src]

impl<T: Eq + Codec> Eq for Commit<T>[src]

impl<T: PartialEq + Codec> PartialEq<Commit<T>> for Commit<T>[src]

impl<T: Codec> StructuralEq for Commit<T>[src]

impl<T: Codec> StructuralPartialEq for Commit<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Commit<T> where
    T: RefUnwindSafe

impl<T> Send for Commit<T>

impl<T> Sync for Commit<T> where
    T: Sync

impl<T> Unpin for Commit<T> where
    T: Unpin

impl<T> UnwindSafe for Commit<T> where
    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> Cloneable for T where
    T: 'static + Send + Sync + Debug + DynClone
[src]

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.