pub struct Burn {
pub asset: Pubkey,
pub signer: Pubkey,
pub recipient: Option<Pubkey>,
pub group: Option<Pubkey>,
}Expand description
Accounts.
Fields§
§asset: PubkeyAsset account
signer: PubkeyThe holder or burn delegate of the asset
recipient: Option<Pubkey>The account receiving refunded rent
group: Option<Pubkey>Asset account of the group
Implementations§
source§impl Burn
impl Burn
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta] ) -> Instruction
Auto Trait Implementations§
impl RefUnwindSafe for Burn
impl Send for Burn
impl Sync for Burn
impl Unpin for Burn
impl UnwindSafe for Burn
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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