pub struct MemoryClose {
pub program_id: Pubkey,
pub payer: Pubkey,
pub memory: Pubkey,
}Expand description
Accounts.
Fields§
§program_id: PubkeyLighthouse program
payer: PubkeyPayer account
memory: PubkeyMemory account
Implementations§
Source§impl MemoryClose
impl MemoryClose
pub fn instruction(&self, args: MemoryCloseInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: MemoryCloseInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemoryClose
impl RefUnwindSafe for MemoryClose
impl Send for MemoryClose
impl Sync for MemoryClose
impl Unpin for MemoryClose
impl UnwindSafe for MemoryClose
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