pub struct InitializeImmutableOwner<'a> {
pub token_program_id: &'a Pubkey,
pub account: &'a NoStdAccountInfo,
}Expand description
Arguments for the initialize immutable owner instruction on the specified Token program, which prevents the owner of a token account from being updated. This instruction must be called before a token account is initialized.
Fields§
§token_program_id: &'a Pubkey§account: &'a NoStdAccountInfoImplementations§
Source§impl<'a> InitializeImmutableOwner<'a>
impl<'a> InitializeImmutableOwner<'a>
Sourcepub fn into_invoke(self)
pub fn into_invoke(self)
Consume arguments to perform CPI call.
Trait Implementations§
Source§impl<'a> Clone for InitializeImmutableOwner<'a>
impl<'a> Clone for InitializeImmutableOwner<'a>
impl<'a> Eq for InitializeImmutableOwner<'a>
Source§impl<'a> PartialEq for InitializeImmutableOwner<'a>
impl<'a> PartialEq for InitializeImmutableOwner<'a>
impl<'a> StructuralPartialEq for InitializeImmutableOwner<'a>
Auto Trait Implementations§
impl<'a> !Send for InitializeImmutableOwner<'a>
impl<'a> !Sync for InitializeImmutableOwner<'a>
impl<'a> Freeze for InitializeImmutableOwner<'a>
impl<'a> RefUnwindSafe for InitializeImmutableOwner<'a>
impl<'a> Unpin for InitializeImmutableOwner<'a>
impl<'a> UnsafeUnpin for InitializeImmutableOwner<'a>
impl<'a> UnwindSafe for InitializeImmutableOwner<'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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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