pub struct InitializeInput<'a, A> {
pub payer: &'a A,
pub state_pda: &'a mut A,
pub reclaim_authority: Pubkey,
}Expand description
Parsed inputs of an Initialize instruction.
Fields§
§payer: &'a A§state_pda: &'a mut ATrait Implementations§
Source§impl<'a, A> InstructionInputParsing<'a, A> for InitializeInput<'a, A>
impl<'a, A> InstructionInputParsing<'a, A> for InitializeInput<'a, A>
const DISCRIMINATOR: SettlementInstruction = SettlementInstruction::Initialize
fn parse_body( instruction_data: &[u8], accounts: &'a mut [A], ) -> Result<Self, ProgramError>
fn parse( instruction_data: &'a [u8], accounts: &'a mut [A], ) -> Result<Self, ProgramError>
Auto Trait Implementations§
impl<'a, A> !UnwindSafe for InitializeInput<'a, A>
impl<'a, A> Freeze for InitializeInput<'a, A>
impl<'a, A> RefUnwindSafe for InitializeInput<'a, A>where
A: RefUnwindSafe,
impl<'a, A> Send for InitializeInput<'a, A>
impl<'a, A> Sync for InitializeInput<'a, A>where
A: Sync,
impl<'a, A> Unpin for InitializeInput<'a, A>
impl<'a, A> UnsafeUnpin for InitializeInput<'a, 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