pub struct ExchangesData {
pub pagination: PaginationInfo,
pub data: Vec<ExchangesDataItem>,
}
Expand description
Rust representation of the JSON response from exchanges
marketstack endpoint.
Fields§
§pagination: PaginationInfo
Corresponds to pagination entry from JSON response from marketstack.
data: Vec<ExchangesDataItem>
Corresponds to data entry from JSON response from marketstack.
Trait Implementations§
Source§impl Clone for ExchangesData
impl Clone for ExchangesData
Source§fn clone(&self) -> ExchangesData
fn clone(&self) -> ExchangesData
Returns a copy 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 ExchangesData
impl Debug for ExchangesData
Source§impl<'de> Deserialize<'de> for ExchangesData
impl<'de> Deserialize<'de> for ExchangesData
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 ExchangesData
impl RefUnwindSafe for ExchangesData
impl Send for ExchangesData
impl Sync for ExchangesData
impl Unpin for ExchangesData
impl UnwindSafe for ExchangesData
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