pub struct ChainAction {Show 21 fields
pub signer: String,
pub token_account: Option<String>,
pub transaction_id: String,
pub token_mint: Option<String>,
pub market_id: String,
pub action_type: String,
pub token_amount: f64,
pub asset_amount: f64,
pub token_price_usd: f64,
pub token_price_asset: f64,
pub swap_total_usd: Option<f64>,
pub swap_total_asset: Option<f64>,
pub token_market_cap_asset: f64,
pub token_market_cap_usd: f64,
pub token_liquidity_asset: f64,
pub token_liquidity_usd: f64,
pub pooled_token: f64,
pub pooled_asset: f64,
pub action_timestamp: i64,
pub bonding_curve_percentage: Option<f64>,
pub bot_used: Option<String>,
}Fields§
§signer: String§token_account: Option<String>§transaction_id: String§token_mint: Option<String>§market_id: String§action_type: String§token_amount: f64§asset_amount: f64§token_price_usd: f64§token_price_asset: f64§swap_total_usd: Option<f64>§swap_total_asset: Option<f64>§token_market_cap_asset: f64§token_market_cap_usd: f64§token_liquidity_asset: f64§token_liquidity_usd: f64§pooled_token: f64§pooled_asset: f64§action_timestamp: i64§bonding_curve_percentage: Option<f64>§bot_used: Option<String>Trait Implementations§
Source§impl Debug for ChainAction
impl Debug for ChainAction
Source§impl<'de> Deserialize<'de> for ChainAction
impl<'de> Deserialize<'de> for ChainAction
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 ChainAction
impl RefUnwindSafe for ChainAction
impl Send for ChainAction
impl Sync for ChainAction
impl Unpin for ChainAction
impl UnsafeUnpin for ChainAction
impl UnwindSafe for ChainAction
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