pub struct AddSolverInput<'a, A> {
pub authority: &'a A,
pub payer: &'a A,
pub state_pda: &'a A,
pub solver: Pubkey,
}Expand description
Parsed inputs of an AddSolver instruction.
Fields§
§payer: &'a A§state_pda: &'a A§solver: PubkeyTrait Implementations§
Source§impl<'a, A> InstructionInputParsing<'a, A> for AddSolverInput<'a, A>
impl<'a, A> InstructionInputParsing<'a, A> for AddSolverInput<'a, A>
const DISCRIMINATOR: SettlementInstruction = SettlementInstruction::AddSolver
fn parse_body( instruction_data: &[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 AddSolverInput<'a, A>
impl<'a, A> RefUnwindSafe for AddSolverInput<'a, A>where
&'a A: RefUnwindSafe,
impl<'a, A> Send for AddSolverInput<'a, A>
impl<'a, A> Sync for AddSolverInput<'a, A>
impl<'a, A> Unpin for AddSolverInput<'a, A>
impl<'a, A> UnsafeUnpin for AddSolverInput<'a, A>where
&'a A: UnsafeUnpin,
impl<'a, A> UnwindSafe for AddSolverInput<'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