pub struct PermissionConfigUpdateCpi<'a, 'b> {
pub __program: &'b AccountInfo<'a>,
pub program_authority: &'b AccountInfo<'a>,
pub permission_config: &'b AccountInfo<'a>,
pub config: &'b AccountInfo<'a>,
pub __args: PermissionConfigUpdateInstructionArgs,
}Expand description
permission_config_update CPI instruction.
Fields§
§__program: &'b AccountInfo<'a>The program to invoke.
The authority of the program
permission_config: &'b AccountInfo<'a>The permission config account
config: &'b AccountInfo<'a>The config account
__args: PermissionConfigUpdateInstructionArgsThe arguments for the instruction.
Implementations§
Source§impl<'a, 'b> PermissionConfigUpdateCpi<'a, 'b>
impl<'a, 'b> PermissionConfigUpdateCpi<'a, 'b>
pub fn new( program: &'b AccountInfo<'a>, accounts: PermissionConfigUpdateCpiAccounts<'a, 'b>, args: PermissionConfigUpdateInstructionArgs, ) -> Self
pub fn invoke(&self) -> ProgramResult
pub fn invoke_with_remaining_accounts( &self, remaining_accounts: &[(&'b AccountInfo<'a>, bool, bool)], ) -> ProgramResult
pub fn invoke_signed(&self, signers_seeds: &[&[&[u8]]]) -> ProgramResult
pub fn invoke_signed_with_remaining_accounts( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[(&'b AccountInfo<'a>, bool, bool)], ) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> Freeze for PermissionConfigUpdateCpi<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for PermissionConfigUpdateCpi<'a, 'b>
impl<'a, 'b> !Send for PermissionConfigUpdateCpi<'a, 'b>
impl<'a, 'b> !Sync for PermissionConfigUpdateCpi<'a, 'b>
impl<'a, 'b> Unpin for PermissionConfigUpdateCpi<'a, 'b>
impl<'a, 'b> !UnwindSafe for PermissionConfigUpdateCpi<'a, 'b>
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