pub struct UncheckedAccount<'a> { /* private fields */ }Trait Implementations§
Source§impl AsRef<AccountView> for UncheckedAccount<'_>
impl AsRef<AccountView> for UncheckedAccount<'_>
Source§fn as_ref(&self) -> &AccountView
fn as_ref(&self) -> &AccountView
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<'a, T> CreateAccountCpi<'a, Account<'a, T>> for UncheckedAccount<'a>where
T: Discriminator,
impl<'a, T> CreateAccountCpi<'a, Account<'a, T>> for UncheckedAccount<'a>where
T: Discriminator,
Source§impl<'a, T, C> CreateAccountCpi<'a, Signer<'a, Account<'a, T>, C>> for UncheckedAccount<'a>where
T: Discriminator,
C: SignerCheck,
impl<'a, T, C> CreateAccountCpi<'a, Signer<'a, Account<'a, T>, C>> for UncheckedAccount<'a>where
T: Discriminator,
C: SignerCheck,
Source§impl<'a> From<UncheckedAccount<'a>> for &'a AccountView
impl<'a> From<UncheckedAccount<'a>> for &'a AccountView
Source§fn from(value: UncheckedAccount<'a>) -> &'a AccountView
fn from(value: UncheckedAccount<'a>) -> &'a AccountView
Converts to this type from the input type.
Source§impl<'a> FromAccountInfo<'a> for UncheckedAccount<'a>
impl<'a> FromAccountInfo<'a> for UncheckedAccount<'a>
fn try_from_info(info: &'a AccountView) -> Result<UncheckedAccount<'a>, Error>
Auto Trait Implementations§
impl<'a> !Send for UncheckedAccount<'a>
impl<'a> !Sync for UncheckedAccount<'a>
impl<'a> Freeze for UncheckedAccount<'a>
impl<'a> RefUnwindSafe for UncheckedAccount<'a>
impl<'a> Unpin for UncheckedAccount<'a>
impl<'a> UnsafeUnpin for UncheckedAccount<'a>
impl<'a> UnwindSafe for UncheckedAccount<'a>
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