pub enum VoteTransaction {
Vote(Vote),
VoteStateUpdate(VoteStateUpdate),
}
Variants§
Implementations§
Trait Implementations§
source§impl Debug for VoteTransaction
impl Debug for VoteTransaction
source§impl From<Vote> for VoteTransaction
impl From<Vote> for VoteTransaction
source§impl From<VoteStateUpdate> for VoteTransaction
impl From<VoteStateUpdate> for VoteTransaction
source§impl PartialEq for VoteTransaction
impl PartialEq for VoteTransaction
source§fn eq(&self, other: &VoteTransaction) -> bool
fn eq(&self, other: &VoteTransaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VoteTransaction
impl StructuralEq for VoteTransaction
impl StructuralPartialEq for VoteTransaction
Auto Trait Implementations§
impl RefUnwindSafe for VoteTransaction
impl Send for VoteTransaction
impl Sync for VoteTransaction
impl Unpin for VoteTransaction
impl UnwindSafe for VoteTransaction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.