pub struct GetPriceV3ResponseObject {
pub block_id: Option<i64>,
pub created_at: DateTime<Utc>,
pub decimals: i64,
pub liquidity: f64,
pub price_change24h: Option<f64>,
pub usd_price: f64,
}Expand description
Token addresses as keys
Fields§
§block_id: Option<i64>Solana block ID when price was computed
created_at: DateTime<Utc>When the token was minted or created (fixed date for legacy tokens like SOL/USDC that predate the API)
decimals: i64Token decimal places
liquidity: f64Total liquidity in USD across all pools
price_change24h: Option<f64>24-hour price change as a percentage
usd_price: f64Current USD price
Trait Implementations§
Source§impl Clone for GetPriceV3ResponseObject
impl Clone for GetPriceV3ResponseObject
Source§fn clone(&self) -> GetPriceV3ResponseObject
fn clone(&self) -> GetPriceV3ResponseObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetPriceV3ResponseObject
impl Debug for GetPriceV3ResponseObject
Source§impl<'de> Deserialize<'de> for GetPriceV3ResponseObject
impl<'de> Deserialize<'de> for GetPriceV3ResponseObject
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 GetPriceV3ResponseObject
impl RefUnwindSafe for GetPriceV3ResponseObject
impl Send for GetPriceV3ResponseObject
impl Sync for GetPriceV3ResponseObject
impl Unpin for GetPriceV3ResponseObject
impl UnsafeUnpin for GetPriceV3ResponseObject
impl UnwindSafe for GetPriceV3ResponseObject
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