Struct solana_vote_program::vote_state::Lockout
source · pub struct Lockout {
pub slot: Slot,
pub confirmation_count: u32,
}
Fields§
§slot: Slot
§confirmation_count: u32
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Lockout
impl<'de> Deserialize<'de> for Lockout
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Lockout> for Lockout
impl PartialEq<Lockout> for Lockout
impl Copy for Lockout
impl Eq for Lockout
impl StructuralEq for Lockout
impl StructuralPartialEq for Lockout
Auto Trait Implementations§
impl RefUnwindSafe for Lockout
impl Send for Lockout
impl Sync for Lockout
impl Unpin for Lockout
impl UnwindSafe for Lockout
Blanket Implementations§
source§impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
source§impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + ?Sized,
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
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.