pub struct UpdateGroupPointer<'a> {
pub mint: &'a AccountView<'a>,
pub authority: &'a AccountView<'a>,
pub group_address: Option<&'a Address>,
}Expand description
GroupPointerExtension::Update (40/1).
Fields§
§mint: &'a AccountView<'a>§group_address: Option<&'a Address>Implementations§
Source§impl UpdateGroupPointer<'_>
impl UpdateGroupPointer<'_>
Sourcepub fn invoke(&self) -> ProgramResult
pub fn invoke(&self) -> ProgramResult
Send this instruction to Token-2022 with the authority
signed directly. Fails with MissingRequiredSignature
before the CPI if it is not.
Sourcepub fn invoke_signed(&self, signers: &[Signer<'_, '_>]) -> ProgramResult
pub fn invoke_signed(&self, signers: &[Signer<'_, '_>]) -> ProgramResult
Send this instruction to Token-2022 with PDA signers.
Sourcepub fn invoke_multisig(
&self,
multisig_signers: &[&AccountView<'_>],
) -> ProgramResult
pub fn invoke_multisig( &self, multisig_signers: &[&AccountView<'_>], ) -> ProgramResult
Send this instruction to Token-2022 with a multisig authority whose signers signed directly.
Sourcepub fn invoke_signed_multisig(
&self,
multisig_signers: &[&AccountView<'_>],
signers: &[Signer<'_, '_>],
) -> ProgramResult
pub fn invoke_signed_multisig( &self, multisig_signers: &[&AccountView<'_>], signers: &[Signer<'_, '_>], ) -> ProgramResult
Send this instruction to Token-2022 with a multisig authority and PDA signers.
Trait Implementations§
Source§impl<'a, 'x: 'a> TokenInstruction<'a> for UpdateGroupPointer<'x>
impl<'a, 'x: 'a> TokenInstruction<'a> for UpdateGroupPointer<'x>
fn emit( &self, multisig_signers: &[&'a AccountView<'a>], sink: &mut impl TokenSink<'a>, ) -> ProgramResult
Auto Trait Implementations§
impl<'a> !Send for UpdateGroupPointer<'a>
impl<'a> !Sync for UpdateGroupPointer<'a>
impl<'a> Freeze for UpdateGroupPointer<'a>
impl<'a> RefUnwindSafe for UpdateGroupPointer<'a>
impl<'a> Unpin for UpdateGroupPointer<'a>
impl<'a> UnsafeUnpin for UpdateGroupPointer<'a>
impl<'a> UnwindSafe for UpdateGroupPointer<'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