Struct cryptoapis::models::get_exchange_rate_by_asset_symbols_ri::GetExchangeRateByAssetSymbolsRi
source · [−]pub struct GetExchangeRateByAssetSymbolsRi {
pub calculation_timestamp: i32,
pub from_asset_id: String,
pub from_asset_symbol: String,
pub rate: String,
pub to_asset_id: String,
pub to_asset_symbol: String,
}
Fields
calculation_timestamp: i32
Defines the time of the market data used to calculate the exchange rate in UNIX Timestamp. Oldest possible timestamp is 30 days.
from_asset_id: String
Defines the base asset Reference ID to get a rate for.
from_asset_symbol: String
Defines the base asset symbol to get a rate for.
rate: String
Defines the exchange rate between assets calculated by weighted average of the last trades in every exchange for the last 24 hours by giving more weight to exchanges with higher volume.
to_asset_id: String
Defines the relation asset Reference ID in which the base asset rate will be displayed.
to_asset_symbol: String
Defines the relation asset symbol in which the base asset rate will be displayed.
Implementations
Trait Implementations
sourceimpl Clone for GetExchangeRateByAssetSymbolsRi
impl Clone for GetExchangeRateByAssetSymbolsRi
sourcefn clone(&self) -> GetExchangeRateByAssetSymbolsRi
fn clone(&self) -> GetExchangeRateByAssetSymbolsRi
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'de> Deserialize<'de> for GetExchangeRateByAssetSymbolsRi
impl<'de> Deserialize<'de> for GetExchangeRateByAssetSymbolsRi
sourcefn 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
sourceimpl PartialEq<GetExchangeRateByAssetSymbolsRi> for GetExchangeRateByAssetSymbolsRi
impl PartialEq<GetExchangeRateByAssetSymbolsRi> for GetExchangeRateByAssetSymbolsRi
sourcefn eq(&self, other: &GetExchangeRateByAssetSymbolsRi) -> bool
fn eq(&self, other: &GetExchangeRateByAssetSymbolsRi) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for GetExchangeRateByAssetSymbolsRi
Auto Trait Implementations
impl RefUnwindSafe for GetExchangeRateByAssetSymbolsRi
impl Send for GetExchangeRateByAssetSymbolsRi
impl Sync for GetExchangeRateByAssetSymbolsRi
impl Unpin for GetExchangeRateByAssetSymbolsRi
impl UnwindSafe for GetExchangeRateByAssetSymbolsRi
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more