Struct phoenix_sdk::sdk_client::PhoenixEvent
source · 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 more