Structs§
- Asset
- Exchange rates are derived for pairs of assets captured in this struct.
- Exchange
Rate - When a rate is determined, this struct is used to present the information to the user.
- Exchange
Rate Metadata - Metadata information to give background on how the rate was determined.
- GetExchange
Rate Request - The type the user sends when requesting a rate.
- Other
Error - Used to provide details for the ExchangeRateError::Other variant field.
Enums§
- Asset
Class - The enum defining the different asset classes.
- Exchange
Rate Error - Returned to the user when something goes wrong retrieving the exchange rate.
Type Aliases§
- GetExchange
Rate Result - Short-hand for returning the result of a
get_exchange_raterequest.