Struct dex_v4::instruction_auto::consume_events::Params
source · Expand description
The required arguments for a consume_events instruction.
Fields
max_iterations: u64
The maximum number of events to consume
no_op_err: u64
Decide if the transaction will fail when there are no events to consume. Useful for preflight verification. Value should be 0 or 1. Is u64 to allow for type casting.
Trait Implementations
sourceimpl BorshDeserialize for Paramswhere
u64: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for Paramswhere
u64: BorshDeserialize,
u64: BorshDeserialize,
sourceimpl BorshSerialize for Paramswhere
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for Paramswhere
u64: BorshSerialize,
u64: BorshSerialize,
impl Copy for Params
impl Pod for Params
Auto Trait Implementations
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
. Read more