pub struct ExchangeResponse {Show 17 fields
pub id: String,
pub partner: String,
pub fixed: bool,
pub timestamps: Timestamps,
pub from: ExchangeCurrency,
pub to: ExchangeCurrency,
pub rate: f64,
pub status: String,
pub confirmations: i32,
pub refund_extra_id: String,
pub block_explorer_transaction_url: BlockExplorerUrl,
pub block_explorer_address_url: BlockExplorerUrl,
pub payment_url: Option<String>,
pub refund_address: Option<String>,
pub error: Option<bool>,
pub token: Option<String>,
pub warnings: BlockExplorerUrl,
}
Fields§
§id: String
§partner: String
§fixed: bool
§timestamps: Timestamps
§from: ExchangeCurrency
§to: ExchangeCurrency
§rate: f64
§status: String
§confirmations: i32
§refund_extra_id: String
§block_explorer_transaction_url: BlockExplorerUrl
§block_explorer_address_url: BlockExplorerUrl
§payment_url: Option<String>
§refund_address: Option<String>
§error: Option<bool>
§token: Option<String>
§warnings: BlockExplorerUrl
Trait Implementations§
Source§impl Clone for ExchangeResponse
impl Clone for ExchangeResponse
Source§fn clone(&self) -> ExchangeResponse
fn clone(&self) -> ExchangeResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExchangeResponse
impl Debug for ExchangeResponse
Source§impl<'de> Deserialize<'de> for ExchangeResponse
impl<'de> Deserialize<'de> for ExchangeResponse
Source§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
Auto Trait Implementations§
impl Freeze for ExchangeResponse
impl RefUnwindSafe for ExchangeResponse
impl Send for ExchangeResponse
impl Sync for ExchangeResponse
impl Unpin for ExchangeResponse
impl UnwindSafe for ExchangeResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more