Struct solana_stake_program::stake_state::Lockup [−]
Fields
unix_timestamp: i64UnixTimestamp at which this stake will allow withdrawal, unless the transaction is signed by the custodian
epoch: u64epoch height at which this stake will allow withdrawal, unless the transaction is signed by the custodian
custodian: Pubkeycustodian signature on a transaction exempts the operation from lockup constraints
Implementations
impl Lockup
impl Lockuppub fn is_in_force(&self, clock: &Clock, custodian: Option<&Pubkey>) -> boolTrait Implementations
impl AbiExample for Lockup
impl AbiExample for Lockupimpl<'de> Deserialize<'de> for Lockup
impl<'de> Deserialize<'de> for Lockuppub fn deserialize<__D>(
__deserializer: __D
) -> Result<Lockup, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Lockup, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LockupAuto Trait Implementations
impl RefUnwindSafe for Lockupimpl UnwindSafe for LockupBlanket Implementations
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V