pub struct PermissionConsume {
pub subject: Pubkey,
pub permission_config: Pubkey,
pub consumed_permission: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§subject: PubkeyThe subject of the permission
permission_config: PubkeyThe permission config account
consumed_permission: PubkeyThe permission program account
system_program: PubkeySystem program
Implementations§
Source§impl PermissionConsume
impl PermissionConsume
pub fn instruction(&self, args: PermissionConsumeInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: PermissionConsumeInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PermissionConsume
impl RefUnwindSafe for PermissionConsume
impl Send for PermissionConsume
impl Sync for PermissionConsume
impl Unpin for PermissionConsume
impl UnwindSafe for PermissionConsume
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