Struct overlord::types::SignedVote
source · [−]Expand description
A signed vote.
Fields
signature: Bytes
Signature of the vote.
vote: Vote
A vote.
voter: Address
Voter address.
Implementations
sourceimpl SignedVote
impl SignedVote
Trait Implementations
sourceimpl Clone for SignedVote
impl Clone for SignedVote
sourcefn clone(&self) -> SignedVote
fn clone(&self) -> SignedVote
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SignedVote
impl Debug for SignedVote
sourceimpl Decodable for SignedVote
impl Decodable for SignedVote
sourcefn decode(r: &Rlp<'_>) -> Result<Self, DecoderError>
fn decode(r: &Rlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes
sourceimpl Display for SignedVote
impl Display for SignedVote
sourceimpl Encodable for SignedVote
impl Encodable for SignedVote
sourceimpl Hash for SignedVote
impl Hash for SignedVote
sourceimpl Ord for SignedVote
impl Ord for SignedVote
sourceimpl PartialEq<SignedVote> for SignedVote
impl PartialEq<SignedVote> for SignedVote
sourcefn eq(&self, other: &SignedVote) -> bool
fn eq(&self, other: &SignedVote) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SignedVote) -> bool
fn ne(&self, other: &SignedVote) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SignedVote> for SignedVote
impl PartialOrd<SignedVote> for SignedVote
sourcefn partial_cmp(&self, other: &SignedVote) -> Option<Ordering>
fn partial_cmp(&self, other: &SignedVote) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for SignedVote
impl StructuralEq for SignedVote
impl StructuralPartialEq for SignedVote
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
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