Struct solana_stake_program::stake_state::Lockup [−][src]
pub struct Lockup {
pub unix_timestamp: UnixTimestamp,
pub epoch: Epoch,
pub custodian: Pubkey,
}Fields
unix_timestamp: UnixTimestampUnixTimestamp at which this stake will allow withdrawal, unless the transaction is signed by the custodian
epoch: Epochepoch 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
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Lockup
impl UnwindSafe for Lockup
Blanket 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 = T
Should always be Self