pub struct Exchange {Show 16 fields
pub id: String,
pub name: String,
pub active: bool,
pub website_status: bool,
pub api_status: bool,
pub description: Option<String>,
pub message: Option<String>,
pub links: Value,
pub markets_data_fetched: bool,
pub adjusted_rank: Option<i32>,
pub reported_rank: Option<i32>,
pub currencies: i32,
pub markets: i32,
pub fiats: Vec<Fiat>,
pub quotes: Value,
pub last_updated: String,
}Expand description
Information about given exchange
Fields§
§id: String§name: String§active: bool§website_status: bool§api_status: bool§description: Option<String>§message: Option<String>§links: Value§markets_data_fetched: bool§adjusted_rank: Option<i32>§reported_rank: Option<i32>§currencies: i32§markets: i32§fiats: Vec<Fiat>§quotes: Value§last_updated: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Exchange
impl<'de> Deserialize<'de> for Exchange
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 Exchange
impl RefUnwindSafe for Exchange
impl Send for Exchange
impl Sync for Exchange
impl Unpin for Exchange
impl UnwindSafe for Exchange
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