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 LockupArgs
pub fn clone(&self) -> LockupArgs
pub fn clone(&self) -> LockupArgs
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for LockupArgs
impl Debug for LockupArgs
impl Default for LockupArgs
impl Default for LockupArgs
pub fn default() -> LockupArgs
pub fn default() -> LockupArgs
Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for LockupArgs
impl<'de> Deserialize<'de> for LockupArgs
pub 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 LockupArgs
pub fn eq(&self, other: &LockupArgs) -> bool
pub fn eq(&self, other: &LockupArgs) -> bool
This 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) -> bool
This method tests for !=
.
impl Serialize for LockupArgs
impl Serialize for LockupArgs
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 Copy for LockupArgs
impl StructuralPartialEq for LockupArgs
Auto Trait Implementations
impl RefUnwindSafe for LockupArgs
impl Send for LockupArgs
impl Sync for LockupArgs
impl Unpin for LockupArgs
impl UnwindSafe for LockupArgs
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
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more