Struct subgrandpa::Commit
source · [−]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: Hash
target_number: BlockNumber
precommits: Vec<SignedPrecommit<Hash, BlockNumber, Signature, AccountId>>
Trait Implementations
Auto Trait Implementations
impl<Hash, BlockNumber, Signature, AccountId> RefUnwindSafe for Commit<Hash, BlockNumber, Signature, AccountId> where
AccountId: RefUnwindSafe,
BlockNumber: RefUnwindSafe,
Hash: RefUnwindSafe,
Signature: RefUnwindSafe,
impl<Hash, BlockNumber, Signature, AccountId> Send for Commit<Hash, BlockNumber, Signature, AccountId> where
AccountId: Send,
BlockNumber: Send,
Hash: Send,
Signature: Send,
impl<Hash, BlockNumber, Signature, AccountId> Sync for Commit<Hash, BlockNumber, Signature, AccountId> where
AccountId: Sync,
BlockNumber: Sync,
Hash: Sync,
Signature: Sync,
impl<Hash, BlockNumber, Signature, AccountId> Unpin for Commit<Hash, BlockNumber, Signature, AccountId> where
AccountId: Unpin,
BlockNumber: Unpin,
Hash: Unpin,
Signature: Unpin,
impl<Hash, BlockNumber, Signature, AccountId> UnwindSafe for Commit<Hash, BlockNumber, Signature, AccountId> where
AccountId: UnwindSafe,
BlockNumber: UnwindSafe,
Hash: UnwindSafe,
Signature: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more