Struct solana_program::stake::instruction::LockupCheckedArgs
source · [−]pub struct LockupCheckedArgs {
pub unix_timestamp: Option<UnixTimestamp>,
pub epoch: Option<Epoch>,
}
Fields
unix_timestamp: Option<UnixTimestamp>
epoch: Option<Epoch>
Trait Implementations
sourceimpl Clone for LockupCheckedArgs
impl Clone for LockupCheckedArgs
sourcefn clone(&self) -> LockupCheckedArgs
fn clone(&self) -> LockupCheckedArgs
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 LockupCheckedArgs
impl Debug for LockupCheckedArgs
sourceimpl Default for LockupCheckedArgs
impl Default for LockupCheckedArgs
sourcefn default() -> LockupCheckedArgs
fn default() -> LockupCheckedArgs
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LockupCheckedArgs
impl<'de> Deserialize<'de> for LockupCheckedArgs
sourcefn 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
sourceimpl PartialEq<LockupCheckedArgs> for LockupCheckedArgs
impl PartialEq<LockupCheckedArgs> for LockupCheckedArgs
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &LockupCheckedArgs) -> bool
fn ne(&self, other: &LockupCheckedArgs) -> bool
This method tests for !=
.
sourceimpl Serialize for LockupCheckedArgs
impl Serialize for LockupCheckedArgs
impl Copy for LockupCheckedArgs
impl Eq for LockupCheckedArgs
impl StructuralEq for LockupCheckedArgs
impl StructuralPartialEq for LockupCheckedArgs
Auto Trait Implementations
impl RefUnwindSafe for LockupCheckedArgs
impl Send for LockupCheckedArgs
impl Sync for LockupCheckedArgs
impl Unpin for LockupCheckedArgs
impl UnwindSafe for LockupCheckedArgs
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