Struct finality_grandpa::Prevote [−][src]
pub struct Prevote<H> { /* fields omitted */ }
A prevote for a block and its ancestors.
Methods
impl<H> Prevote<H>
[src]
impl<H> Prevote<H>
Trait Implementations
impl<H: Debug> Debug for Prevote<H>
[src]
impl<H: Debug> Debug for Prevote<H>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<H: Clone> Clone for Prevote<H>
[src]
impl<H: Clone> Clone for Prevote<H>
fn clone(&self) -> Prevote<H>
[src]
fn clone(&self) -> Prevote<H>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<H: PartialEq> PartialEq for Prevote<H>
[src]
impl<H: PartialEq> PartialEq for Prevote<H>
fn eq(&self, other: &Prevote<H>) -> bool
[src]
fn eq(&self, other: &Prevote<H>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Prevote<H>) -> bool
[src]
fn ne(&self, other: &Prevote<H>) -> bool
This method tests for !=
.
impl<H: Eq> Eq for Prevote<H>
[src]
impl<H: Eq> Eq for Prevote<H>