pub struct PhoenixEvent {
pub market: Pubkey,
pub sequence_number: u64,
pub slot: u64,
pub timestamp: i64,
pub signature: Signature,
pub signer: Pubkey,
pub event_index: u64,
pub details: MarketEventDetails,
}Fields§
§market: PubkeyThe pubkey of the market the trade occurred in
sequence_number: u64The sequence number of the trade event.
slot: u64The slot of the trade event.
timestamp: i64The timestamp of the trade event.
signature: SignatureThe signature of the transaction that contains this event.
signer: PubkeyThe signer of the transaction that contains this event.
event_index: u64The index of the trade in the list of trade_events.
details: MarketEventDetailsDetails of the event that are specific to the event type.
Trait Implementations§
Source§impl Clone for PhoenixEvent
impl Clone for PhoenixEvent
Source§fn clone(&self) -> PhoenixEvent
fn clone(&self) -> PhoenixEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PhoenixEvent
impl Debug for PhoenixEvent
impl Copy for PhoenixEvent
Auto Trait Implementations§
impl Freeze for PhoenixEvent
impl RefUnwindSafe for PhoenixEvent
impl Send for PhoenixEvent
impl Sync for PhoenixEvent
impl Unpin for PhoenixEvent
impl UnwindSafe for PhoenixEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more