[−][src]Struct overlord::types::SignedVote
A signed vote.
Fields
signature: Bytes
Signature of the vote.
vote: Vote
A vote.
voter: Address
Voter address.
Methods
impl SignedVote
[src]
pub fn get_height(&self) -> u64
[src]
Get the height of the signed vote.
pub fn get_round(&self) -> u64
[src]
Get the round of the signed vote.
pub fn get_hash(&self) -> Hash
[src]
Get the hash of the signed vote.
pub fn is_prevote(&self) -> bool
[src]
If the signed vote is a prevote vote.
Trait Implementations
impl Clone for SignedVote
[src]
fn clone(&self) -> SignedVote
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SignedVote
[src]
impl Decodable for SignedVote
[src]
fn decode(r: &Rlp) -> Result<Self, DecoderError>
[src]
impl Display for SignedVote
[src]
impl Encodable for SignedVote
[src]
impl Eq for SignedVote
[src]
impl Hash for SignedVote
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for SignedVote
[src]
fn cmp(&self, other: &SignedVote) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SignedVote> for SignedVote
[src]
fn eq(&self, other: &SignedVote) -> bool
[src]
fn ne(&self, other: &SignedVote) -> bool
[src]
impl PartialOrd<SignedVote> for SignedVote
[src]
fn partial_cmp(&self, other: &SignedVote) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for SignedVote
[src]
impl StructuralPartialEq for SignedVote
[src]
Auto Trait Implementations
impl RefUnwindSafe for SignedVote
impl Send for SignedVote
impl Sync for SignedVote
impl Unpin for SignedVote
impl UnwindSafe for SignedVote
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Cloneable for T where
T: 'static + Send + Sync + Debug + DynClone,
[src]
T: 'static + Send + Sync + Debug + DynClone,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,