pub struct CloseAccount<'a> {
pub account: &'a AccountView,
pub destination: &'a AccountView,
pub authority: &'a AccountView,
}Expand description
Builder for SPL Token CloseAccount (instruction index 9).
Fields§
§account: &'a AccountView§destination: &'a AccountViewImplementations§
Source§impl CloseAccount<'_>
impl CloseAccount<'_>
pub fn invoke(&self) -> ProgramResult
pub fn invoke_signed(&self, signers: &[Signer<'_, '_>]) -> ProgramResult
Auto Trait Implementations§
impl<'a> Freeze for CloseAccount<'a>
impl<'a> RefUnwindSafe for CloseAccount<'a>
impl<'a> Send for CloseAccount<'a>
impl<'a> Sync for CloseAccount<'a>
impl<'a> Unpin for CloseAccount<'a>
impl<'a> UnsafeUnpin for CloseAccount<'a>
impl<'a> UnwindSafe for CloseAccount<'a>
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