Struct cryptoapis::models::get_exchange_rate_by_asset_symbols_r::GetExchangeRateByAssetSymbolsR [−][src]
pub struct GetExchangeRateByAssetSymbolsR {
pub api_version: String,
pub request_id: String,
pub context: Option<String>,
pub data: Box<GetExchangeRateByAssetSymbolsRData>,
}
Fields
api_version: String
Specifies the version of the API that incorporates this endpoint.
request_id: String
Defines the ID of the request. The requestId
is generated by Crypto APIs and it’s unique for every request.
context: Option<String>
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context
is specified by the user.
data: Box<GetExchangeRateByAssetSymbolsRData>
Implementations
pub fn new(
api_version: String,
request_id: String,
data: GetExchangeRateByAssetSymbolsRData
) -> GetExchangeRateByAssetSymbolsR
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 GetExchangeRateByAssetSymbolsR
impl Sync for GetExchangeRateByAssetSymbolsR
impl Unpin for GetExchangeRateByAssetSymbolsR
impl UnwindSafe for GetExchangeRateByAssetSymbolsR
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