//! This code was AUTOGENERATED using the Codama library.
use solana_pubkey::Pubkey;
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct TradeEvent {
pub margin_account: Pubkey,
pub index: u8,
pub size: u64,
pub cost_of_trades: u64,
pub is_bid: bool,
pub client_order_id: u64,
pub order_id: u128,
}