pub struct InitializePermanentDelegate<'a> {
pub mint: &'a AccountView<'a>,
pub delegate: &'a Address,
}Expand description
InitializePermanentDelegate (35): delegate may transfer or burn
from any account of this mint, forever.
Fields§
§mint: &'a AccountView<'a>§delegate: &'a AddressImplementations§
Source§impl InitializePermanentDelegate<'_>
impl InitializePermanentDelegate<'_>
Sourcepub fn invoke(&self) -> ProgramResult
pub fn invoke(&self) -> ProgramResult
Send this instruction to Token-2022.
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.
Trait Implementations§
Source§impl<'a, 'x: 'a> TokenInstruction<'a> for InitializePermanentDelegate<'x>
impl<'a, 'x: 'a> TokenInstruction<'a> for InitializePermanentDelegate<'x>
fn emit( &self, multisig_signers: &[&'a AccountView<'a>], sink: &mut impl TokenSink<'a>, ) -> ProgramResult
Auto Trait Implementations§
impl<'a> !Send for InitializePermanentDelegate<'a>
impl<'a> !Sync for InitializePermanentDelegate<'a>
impl<'a> Freeze for InitializePermanentDelegate<'a>
impl<'a> RefUnwindSafe for InitializePermanentDelegate<'a>
impl<'a> Unpin for InitializePermanentDelegate<'a>
impl<'a> UnsafeUnpin for InitializePermanentDelegate<'a>
impl<'a> UnwindSafe for InitializePermanentDelegate<'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