Expand description
A vote.
Fields
height: u64
Height of the vote.
round: u64
Round of the vote.
vote_type: VoteType
Type of the vote.
block_hash: Hash
Block hash of the vote.
Trait Implementations
sourceimpl Decodable for Vote
impl Decodable for Vote
sourcefn decode(r: &Rlp<'_>) -> Result<Self, DecoderError>
fn decode(r: &Rlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes
impl Eq for Vote
impl StructuralEq for Vote
impl StructuralPartialEq for Vote
Auto Trait Implementations
impl RefUnwindSafe for Vote
impl Send for Vote
impl Sync for Vote
impl Unpin for Vote
impl UnwindSafe for Vote
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