pub enum VoteTransaction {
Vote(Vote),
VoteStateUpdate(VoteStateUpdate),
}
Variants§
Vote(Vote)
VoteStateUpdate(VoteStateUpdate)
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§fn from(vote_state_update: VoteStateUpdate) -> Self
fn from(vote_state_update: VoteStateUpdate) -> Self
Converts to this type from the input type.
source§impl PartialEq<VoteTransaction> for VoteTransaction
impl PartialEq<VoteTransaction> 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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.