Struct dex_v4::state::CallBackInfo
source · Expand description
Information about a user involved in an orderbook matching event
Fields
user_account: Pubkey
fee_tier: u8
Trait Implementations
sourceimpl BorshDeserialize for CallBackInfowhere
Pubkey: BorshDeserialize,
u8: BorshDeserialize,
impl BorshDeserialize for CallBackInfowhere
Pubkey: BorshDeserialize,
u8: BorshDeserialize,
sourceimpl BorshSerialize for CallBackInfowhere
Pubkey: BorshSerialize,
u8: BorshSerialize,
impl BorshSerialize for CallBackInfowhere
Pubkey: BorshSerialize,
u8: BorshSerialize,
sourceimpl CallbackInfo for CallBackInfo
impl CallbackInfo for CallBackInfo
type CallbackId = Pubkey
type CallbackId = Pubkey
The callback identity object used to detect self trading
sourcefn as_callback_id(&self) -> &Self::CallbackId
fn as_callback_id(&self) -> &Self::CallbackId
Retrives a reference to the callback identity object from the parent object
sourceimpl Clone for CallBackInfo
impl Clone for CallBackInfo
sourcefn clone(&self) -> CallBackInfo
fn clone(&self) -> CallBackInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CallBackInfo
impl Debug for CallBackInfo
sourceimpl PartialEq<CallBackInfo> for CallBackInfo
impl PartialEq<CallBackInfo> for CallBackInfo
sourcefn eq(&self, other: &CallBackInfo) -> bool
fn eq(&self, other: &CallBackInfo) -> bool
impl Copy for CallBackInfo
impl Pod for CallBackInfo
impl StructuralPartialEq for CallBackInfo
Auto Trait Implementations
impl RefUnwindSafe for CallBackInfo
impl Send for CallBackInfo
impl Sync for CallBackInfo
impl Unpin for CallBackInfo
impl UnwindSafe for CallBackInfo
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