pub struct Collect {
pub authority: Pubkey,
pub recipient: Pubkey,
}Expand description
Accounts.
Fields§
Authority to collect fees
recipient: PubkeyThe account to transfer collected fees to
Implementations§
Source§impl Collect
impl Collect
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for Collect
impl RefUnwindSafe for Collect
impl Send for Collect
impl Sync for Collect
impl Unpin for Collect
impl UnsafeUnpin for Collect
impl UnwindSafe for Collect
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