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