Struct solana_sdk::stake::instruction::LockupCheckedArgs
source · pub struct LockupCheckedArgs {
pub unix_timestamp: Option<i64>,
pub epoch: Option<u64>,
}
Fields§
§unix_timestamp: Option<i64>
§epoch: Option<u64>
Trait Implementations§
source§impl Clone for LockupCheckedArgs
impl Clone for LockupCheckedArgs
source§fn clone(&self) -> LockupCheckedArgs
fn clone(&self) -> LockupCheckedArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LockupCheckedArgs
impl Debug for LockupCheckedArgs
source§impl Default for LockupCheckedArgs
impl Default for LockupCheckedArgs
source§fn default() -> LockupCheckedArgs
fn default() -> LockupCheckedArgs
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LockupCheckedArgs
impl<'de> Deserialize<'de> for LockupCheckedArgs
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<LockupCheckedArgs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<LockupCheckedArgs, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<LockupCheckedArgs> for LockupCheckedArgs
impl PartialEq<LockupCheckedArgs> for LockupCheckedArgs
source§fn eq(&self, other: &LockupCheckedArgs) -> bool
fn eq(&self, other: &LockupCheckedArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LockupCheckedArgs
impl Serialize for LockupCheckedArgs
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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