Struct solana_sdk::stake::instruction::LockupArgs
source · [−]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
sourceimpl Clone for LockupArgs
impl Clone for LockupArgs
sourcefn clone(&self) -> LockupArgs
fn clone(&self) -> LockupArgs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LockupArgs
impl Debug for LockupArgs
sourceimpl Default for LockupArgs
impl Default for LockupArgs
sourcefn default() -> LockupArgs
fn default() -> LockupArgs
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LockupArgs
impl<'de> Deserialize<'de> for LockupArgs
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<LockupArgs, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
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
sourceimpl PartialEq<LockupArgs> for LockupArgs
impl PartialEq<LockupArgs> for LockupArgs
sourcefn eq(&self, other: &LockupArgs) -> bool
fn eq(&self, other: &LockupArgs) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LockupArgs) -> bool
fn ne(&self, other: &LockupArgs) -> bool
This method tests for !=
.
sourceimpl Serialize for LockupArgs
impl Serialize for LockupArgs
sourcefn 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
impl Copy for LockupArgs
impl Eq for LockupArgs
impl StructuralEq 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
sourceimpl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
sourceimpl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more