Struct solana_stake_accounts::args::SetLockupArgs[][src]

pub(crate) struct SetLockupArgs<P, K> {
    pub fee_payer: K,
    pub base_pubkey: P,
    pub custodian: K,
    pub lockup_epoch: Option<Epoch>,
    pub lockup_date: Option<UnixTimestamp>,
    pub new_custodian: Option<P>,
    pub num_accounts: usize,
    pub no_wait: bool,
    pub unlock_years: Option<f64>,
}

Fields

fee_payer: Kbase_pubkey: Pcustodian: Klockup_epoch: Option<Epoch>lockup_date: Option<UnixTimestamp>new_custodian: Option<P>num_accounts: usizeno_wait: boolunlock_years: Option<f64>

Auto Trait Implementations

impl<P, K> RefUnwindSafe for SetLockupArgs<P, K> where
    K: RefUnwindSafe,
    P: RefUnwindSafe

impl<P, K> Send for SetLockupArgs<P, K> where
    K: Send,
    P: Send

impl<P, K> Sync for SetLockupArgs<P, K> where
    K: Sync,
    P: Sync

impl<P, K> Unpin for SetLockupArgs<P, K> where
    K: Unpin,
    P: Unpin

impl<P, K> UnwindSafe for SetLockupArgs<P, K> where
    K: UnwindSafe,
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]