pub struct CreateSelfOrderInput<'a, A> {
pub intent_bytes: [u8; 213],
pub authority: &'a A,
pub created_by: &'a A,
pub state_pda: &'a A,
pub order_pda: &'a A,
}Expand description
Parsed inputs of a CreateSelfOrder instruction.
Fields§
§intent_bytes: [u8; 213]§created_by: &'a A§state_pda: &'a A§order_pda: &'a ATrait Implementations§
Source§impl<'a, A> InstructionInputParsing<'a, A> for CreateSelfOrderInput<'a, A>
impl<'a, A> InstructionInputParsing<'a, A> for CreateSelfOrderInput<'a, A>
const DISCRIMINATOR: SettlementInstruction = SettlementInstruction::CreateSelfOrder
fn parse_body( instruction_data: &'a [u8], accounts: &'a [A], ) -> Result<Self, ProgramError>
fn parse( instruction_data: &'a [u8], accounts: &'a [A], ) -> Result<Self, ProgramError>
Auto Trait Implementations§
impl<'a, A> Freeze for CreateSelfOrderInput<'a, A>
impl<'a, A> RefUnwindSafe for CreateSelfOrderInput<'a, A>where
&'a A: RefUnwindSafe,
impl<'a, A> Send for CreateSelfOrderInput<'a, A>
impl<'a, A> Sync for CreateSelfOrderInput<'a, A>
impl<'a, A> Unpin for CreateSelfOrderInput<'a, A>
impl<'a, A> UnsafeUnpin for CreateSelfOrderInput<'a, A>where
&'a A: UnsafeUnpin,
impl<'a, A> UnwindSafe for CreateSelfOrderInput<'a, A>where
&'a A: UnwindSafe,
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