pub struct SaberAddDecimalsAccounts<'me, 'info> {
pub add_decimals_program: &'me AccountInfo<'info>,
pub wrapper: &'me AccountInfo<'info>,
pub wrapper_mint: &'me AccountInfo<'info>,
pub wrapper_underlying_tokens: &'me AccountInfo<'info>,
pub owner: &'me AccountInfo<'info>,
pub user_underlying_tokens: &'me AccountInfo<'info>,
pub user_wrapped_tokens: &'me AccountInfo<'info>,
pub token_program: &'me AccountInfo<'info>,
}
Fields§
§add_decimals_program: &'me AccountInfo<'info>
§wrapper: &'me AccountInfo<'info>
§wrapper_mint: &'me AccountInfo<'info>
§wrapper_underlying_tokens: &'me AccountInfo<'info>
§owner: &'me AccountInfo<'info>
§user_underlying_tokens: &'me AccountInfo<'info>
§user_wrapped_tokens: &'me AccountInfo<'info>
§token_program: &'me AccountInfo<'info>
Trait Implementations§
Source§impl<'me, 'info> Clone for SaberAddDecimalsAccounts<'me, 'info>
impl<'me, 'info> Clone for SaberAddDecimalsAccounts<'me, 'info>
Source§fn clone(&self) -> SaberAddDecimalsAccounts<'me, 'info>
fn clone(&self) -> SaberAddDecimalsAccounts<'me, 'info>
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<'me, 'info> Debug for SaberAddDecimalsAccounts<'me, 'info>
impl<'me, 'info> Debug for SaberAddDecimalsAccounts<'me, 'info>
Source§impl<'me, 'info> From<&'me [AccountInfo<'info>; 8]> for SaberAddDecimalsAccounts<'me, 'info>
impl<'me, 'info> From<&'me [AccountInfo<'info>; 8]> for SaberAddDecimalsAccounts<'me, 'info>
Source§fn from(arr: &'me [AccountInfo<'info>; 8]) -> Self
fn from(arr: &'me [AccountInfo<'info>; 8]) -> Self
Converts to this type from the input type.
Source§impl From<SaberAddDecimalsAccounts<'_, '_>> for SaberAddDecimalsKeys
impl From<SaberAddDecimalsAccounts<'_, '_>> for SaberAddDecimalsKeys
Source§fn from(accounts: SaberAddDecimalsAccounts<'_, '_>) -> Self
fn from(accounts: SaberAddDecimalsAccounts<'_, '_>) -> Self
Converts to this type from the input type.
Source§impl<'info> From<SaberAddDecimalsAccounts<'_, 'info>> for [AccountInfo<'info>; 8]
impl<'info> From<SaberAddDecimalsAccounts<'_, 'info>> for [AccountInfo<'info>; 8]
Source§fn from(accounts: SaberAddDecimalsAccounts<'_, 'info>) -> Self
fn from(accounts: SaberAddDecimalsAccounts<'_, 'info>) -> Self
Converts to this type from the input type.
impl<'me, 'info> Copy for SaberAddDecimalsAccounts<'me, 'info>
Auto Trait Implementations§
impl<'me, 'info> Freeze for SaberAddDecimalsAccounts<'me, 'info>
impl<'me, 'info> !RefUnwindSafe for SaberAddDecimalsAccounts<'me, 'info>
impl<'me, 'info> !Send for SaberAddDecimalsAccounts<'me, 'info>
impl<'me, 'info> !Sync for SaberAddDecimalsAccounts<'me, 'info>
impl<'me, 'info> Unpin for SaberAddDecimalsAccounts<'me, 'info>
impl<'me, 'info> !UnwindSafe for SaberAddDecimalsAccounts<'me, 'info>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more