pub struct PoolEvent {Show 24 fields
pub user: String,
pub pool_event_type: PoolEventType,
pub program_id: Option<String>,
pub amm: Option<String>,
pub slot: u64,
pub timestamp: i64,
pub signature: String,
pub idx: String,
pub signer: Option<Vec<String>>,
pub pool_id: String,
pub config: Option<String>,
pub pool_lp_mint: Option<String>,
pub token0_mint: Option<String>,
pub token0_amount: Option<f64>,
pub token0_amount_raw: Option<String>,
pub token0_balance_change: Option<String>,
pub token0_decimals: Option<u8>,
pub token1_mint: Option<String>,
pub token1_amount: Option<f64>,
pub token1_amount_raw: Option<String>,
pub token1_balance_change: Option<String>,
pub token1_decimals: Option<u8>,
pub lp_amount: Option<f64>,
pub lp_amount_raw: Option<String>,
}Fields§
§user: String§pool_event_type: PoolEventType§program_id: Option<String>§amm: Option<String>§slot: u64§timestamp: i64§signature: String§idx: String§signer: Option<Vec<String>>§pool_id: String§config: Option<String>§pool_lp_mint: Option<String>§token0_mint: Option<String>§token0_amount: Option<f64>§token0_amount_raw: Option<String>§token0_balance_change: Option<String>§token0_decimals: Option<u8>§token1_mint: Option<String>§token1_amount: Option<f64>§token1_amount_raw: Option<String>§token1_balance_change: Option<String>§token1_decimals: Option<u8>§lp_amount: Option<f64>§lp_amount_raw: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PoolEvent
impl<'de> Deserialize<'de> for PoolEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PoolEvent
impl RefUnwindSafe for PoolEvent
impl Send for PoolEvent
impl Sync for PoolEvent
impl Unpin for PoolEvent
impl UnsafeUnpin for PoolEvent
impl UnwindSafe for PoolEvent
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> 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