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