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