pub struct CollectCpiAccounts<'a, 'b> {
pub authority: &'b AccountInfo<'a>,
pub pda_account: &'b AccountInfo<'a>,
}
Expand description
collect
CPI accounts.
Fields§
Authority to collect fees
pda_account: &'b AccountInfo<'a>
PDA to retrieve fees from
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for CollectCpiAccounts<'a, 'b>
impl<'a, 'b> !Send for CollectCpiAccounts<'a, 'b>
impl<'a, 'b> !Sync for CollectCpiAccounts<'a, 'b>
impl<'a, 'b> Unpin for CollectCpiAccounts<'a, 'b>
impl<'a, 'b> !UnwindSafe for CollectCpiAccounts<'a, 'b>
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