[][src]Struct subgrandpa::Commit

pub struct Commit<Hash, BlockNumber, Signature, AccountId> {
    pub target_hash: Hash,
    pub target_number: BlockNumber,
    pub precommits: Vec<SignedPrecommit<Hash, BlockNumber, Signature, AccountId>>,
}

Fields

target_hash: Hashtarget_number: BlockNumberprecommits: Vec<SignedPrecommit<Hash, BlockNumber, Signature, AccountId>>

Trait Implementations

impl<Hash: Debug, BlockNumber: Debug, Signature: Debug, AccountId: Debug> Debug for Commit<Hash, BlockNumber, Signature, AccountId>[src]

Auto Trait Implementations

impl<Hash, BlockNumber, Signature, AccountId> RefUnwindSafe for Commit<Hash, BlockNumber, Signature, AccountId> where
    AccountId: RefUnwindSafe,
    BlockNumber: RefUnwindSafe,
    Hash: RefUnwindSafe,
    Signature: RefUnwindSafe
[src]

impl<Hash, BlockNumber, Signature, AccountId> Send for Commit<Hash, BlockNumber, Signature, AccountId> where
    AccountId: Send,
    BlockNumber: Send,
    Hash: Send,
    Signature: Send
[src]

impl<Hash, BlockNumber, Signature, AccountId> Sync for Commit<Hash, BlockNumber, Signature, AccountId> where
    AccountId: Sync,
    BlockNumber: Sync,
    Hash: Sync,
    Signature: Sync
[src]

impl<Hash, BlockNumber, Signature, AccountId> Unpin for Commit<Hash, BlockNumber, Signature, AccountId> where
    AccountId: Unpin,
    BlockNumber: Unpin,
    Hash: Unpin,
    Signature: Unpin
[src]

impl<Hash, BlockNumber, Signature, AccountId> UnwindSafe for Commit<Hash, BlockNumber, Signature, AccountId> where
    AccountId: UnwindSafe,
    BlockNumber: UnwindSafe,
    Hash: UnwindSafe,
    Signature: UnwindSafe
[src]

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.