pub struct ExchangeRequest {
pub partner: String,
pub from_currency: String,
pub from_network: String,
pub to_currency: String,
pub to_network: String,
pub address: Address,
pub amount: f64,
pub fixed: bool,
pub extra_id: String,
pub rate_id: String,
pub user_ip: String,
pub refund: Address,
}
Fields§
§partner: String
§from_currency: String
§from_network: String
§to_currency: String
§to_network: String
§address: Address
§amount: f64
§fixed: bool
§extra_id: String
§rate_id: String
§user_ip: String
§refund: Address
Trait Implementations§
Source§impl Clone for ExchangeRequest
impl Clone for ExchangeRequest
Source§fn clone(&self) -> ExchangeRequest
fn clone(&self) -> ExchangeRequest
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 ExchangeRequest
impl Debug for ExchangeRequest
Auto Trait Implementations§
impl Freeze for ExchangeRequest
impl RefUnwindSafe for ExchangeRequest
impl Send for ExchangeRequest
impl Sync for ExchangeRequest
impl Unpin for ExchangeRequest
impl UnwindSafe for ExchangeRequest
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