Struct cryptoapis::models::get_exchange_rate_by_assets_ids_ri::GetExchangeRateByAssetsIdsRi
source · [−]pub struct GetExchangeRateByAssetsIdsRi {
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 GetExchangeRateByAssetsIdsRi
impl Clone for GetExchangeRateByAssetsIdsRi
sourcefn clone(&self) -> GetExchangeRateByAssetsIdsRi
fn clone(&self) -> GetExchangeRateByAssetsIdsRi
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 Debug for GetExchangeRateByAssetsIdsRi
impl Debug for GetExchangeRateByAssetsIdsRi
sourceimpl<'de> Deserialize<'de> for GetExchangeRateByAssetsIdsRi
impl<'de> Deserialize<'de> for GetExchangeRateByAssetsIdsRi
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<GetExchangeRateByAssetsIdsRi> for GetExchangeRateByAssetsIdsRi
impl PartialEq<GetExchangeRateByAssetsIdsRi> for GetExchangeRateByAssetsIdsRi
sourcefn eq(&self, other: &GetExchangeRateByAssetsIdsRi) -> bool
fn eq(&self, other: &GetExchangeRateByAssetsIdsRi) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for GetExchangeRateByAssetsIdsRi
Auto Trait Implementations
impl RefUnwindSafe for GetExchangeRateByAssetsIdsRi
impl Send for GetExchangeRateByAssetsIdsRi
impl Sync for GetExchangeRateByAssetsIdsRi
impl Unpin for GetExchangeRateByAssetsIdsRi
impl UnwindSafe for GetExchangeRateByAssetsIdsRi
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