pub struct UpdateCap {
pub main: Pubkey,
pub admin: Pubkey,
pub system_program: Pubkey,
pub strategy: Pubkey,
pub admin_permissions: Pubkey,
}Expand description
Accounts.
Fields§
§main: Pubkey§admin: Pubkey§system_program: Pubkey§strategy: Pubkey§admin_permissions: PubkeyImplementations§
Source§impl UpdateCap
impl UpdateCap
pub fn instruction(&self, args: UpdateCapInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: UpdateCapInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UpdateCap
impl RefUnwindSafe for UpdateCap
impl Send for UpdateCap
impl Sync for UpdateCap
impl Unpin for UpdateCap
impl UnsafeUnpin for UpdateCap
impl UnwindSafe for UpdateCap
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