pub struct PriceEntry {
pub usd_price: f64,
pub block_id: Option<u64>,
pub decimals: u8,
pub price_change_24h: Option<f64>,
pub created_at: Option<String>,
pub liquidity: Option<f64>,
}Fields§
§usd_price: f64§block_id: Option<u64>§decimals: u8§price_change_24h: Option<f64>§created_at: Option<String>§liquidity: Option<f64>Trait Implementations§
Source§impl Clone for PriceEntry
impl Clone for PriceEntry
Source§fn clone(&self) -> PriceEntry
fn clone(&self) -> PriceEntry
Returns a duplicate 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 moreSource§impl Debug for PriceEntry
impl Debug for PriceEntry
Source§impl<'de> Deserialize<'de> for PriceEntry
impl<'de> Deserialize<'de> for PriceEntry
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 PriceEntry
impl RefUnwindSafe for PriceEntry
impl Send for PriceEntry
impl Sync for PriceEntry
impl Unpin for PriceEntry
impl UnsafeUnpin for PriceEntry
impl UnwindSafe for PriceEntry
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