Struct finality_grandpa::Equivocation [−][src]
pub struct Equivocation<Id, V, S> { pub round_number: u64, pub identity: Id, pub first: (V, S), pub second: (V, S), }
Expand description
An equivocation (double-vote) in a given round.
Fields
round_number: u64
The round number equivocated in.
identity: Id
The identity of the equivocator.
first: (V, S)
The first vote in the equivocation.
second: (V, S)
The second vote in the equivocation.
Trait Implementations
impl<Id: PartialEq, V: PartialEq, S: PartialEq> PartialEq<Equivocation<Id, V, S>> for Equivocation<Id, V, S>
[src]
impl<Id: PartialEq, V: PartialEq, S: PartialEq> PartialEq<Equivocation<Id, V, S>> for Equivocation<Id, V, S>
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<Id, V, S> RefUnwindSafe for Equivocation<Id, V, S> where
Id: RefUnwindSafe,
S: RefUnwindSafe,
V: RefUnwindSafe,
impl<Id, V, S> Send for Equivocation<Id, V, S> where
Id: Send,
S: Send,
V: Send,
impl<Id, V, S> Sync for Equivocation<Id, V, S> where
Id: Sync,
S: Sync,
V: Sync,
impl<Id, V, S> Unpin for Equivocation<Id, V, S> where
Id: Unpin,
S: Unpin,
V: Unpin,
impl<Id, V, S> UnwindSafe for Equivocation<Id, V, S> where
Id: UnwindSafe,
S: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more