Struct solana_stake_program::stake_instruction::LockupArgs [−]
pub struct LockupArgs {
pub unix_timestamp: Option<i64>,
pub epoch: Option<u64>,
pub custodian: Option<Pubkey>,
}Fields
unix_timestamp: Option<i64>epoch: Option<u64>custodian: Option<Pubkey>Trait Implementations
impl Clone for LockupArgs
impl Clone for LockupArgspub fn clone(&self) -> LockupArgs
pub fn clone(&self) -> LockupArgsReturns a copy of the value. Read more
Performs copy-assignment from source. Read more
impl Debug for LockupArgs
impl Debug for LockupArgsimpl Default for LockupArgs
impl Default for LockupArgspub fn default() -> LockupArgs
pub fn default() -> LockupArgsReturns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for LockupArgs
impl<'de> Deserialize<'de> for LockupArgspub fn deserialize<__D>(
__deserializer: __D
) -> Result<LockupArgs, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<LockupArgs, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<LockupArgs> for LockupArgs
impl PartialEq<LockupArgs> for LockupArgspub fn eq(&self, other: &LockupArgs) -> bool
pub fn eq(&self, other: &LockupArgs) -> boolThis method tests for self and other values to be equal, and is used
by ==. Read more
pub fn ne(&self, other: &LockupArgs) -> bool
pub fn ne(&self, other: &LockupArgs) -> boolThis method tests for !=.
impl Serialize for LockupArgs
impl Serialize for LockupArgspub 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 Copy for LockupArgsimpl StructuralPartialEq for LockupArgsAuto Trait Implementations
impl RefUnwindSafe for LockupArgsimpl Send for LockupArgsimpl Sync for LockupArgsimpl Unpin for LockupArgsimpl UnwindSafe for LockupArgsBlanket 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