pub struct SpendingLimitUseArgs {
pub amount: u64,
pub decimals: u8,
pub memo: Option<String>,
}Fields§
§amount: u64Amount of tokens to transfer.
decimals: u8Decimals of the token mint. Used for double-checking against incorrect order of magnitude of amount.
memo: Option<String>Memo used for indexing.
Trait Implementations§
source§impl BorshDeserialize for SpendingLimitUseArgswhere
u64: BorshDeserialize,
u8: BorshDeserialize,
Option<String>: BorshDeserialize,
impl BorshDeserialize for SpendingLimitUseArgswhere u64: BorshDeserialize, u8: BorshDeserialize, Option<String>: BorshDeserialize,
source§impl BorshSerialize for SpendingLimitUseArgswhere
u64: BorshSerialize,
u8: BorshSerialize,
Option<String>: BorshSerialize,
impl BorshSerialize for SpendingLimitUseArgswhere u64: BorshSerialize, u8: BorshSerialize, Option<String>: BorshSerialize,
source§impl Clone for SpendingLimitUseArgs
impl Clone for SpendingLimitUseArgs
source§fn clone(&self) -> SpendingLimitUseArgs
fn clone(&self) -> SpendingLimitUseArgs
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 moreAuto Trait Implementations§
impl RefUnwindSafe for SpendingLimitUseArgs
impl Send for SpendingLimitUseArgs
impl Sync for SpendingLimitUseArgs
impl Unpin for SpendingLimitUseArgs
impl UnwindSafe for SpendingLimitUseArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more