Struct cryptoapis::models::get_exchange_rate_by_asset_symbols_ri::GetExchangeRateByAssetSymbolsRi [−][src]
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.
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
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for GetExchangeRateByAssetSymbolsRi
impl Sync for GetExchangeRateByAssetSymbolsRi
impl Unpin for GetExchangeRateByAssetSymbolsRi
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more