pub struct GetAmounts {
pub from_currency: String,
pub from_network: String,
pub to_currency: String,
pub to_network: String,
pub amount: f64,
pub partner: Option<Vec<String>>,
pub fixed: bool,
pub float: bool,
}
Fields§
§from_currency: String
§from_network: String
§to_currency: String
§to_network: String
§amount: f64
§partner: Option<Vec<String>>
§fixed: bool
§float: bool
Trait Implementations§
Source§impl Clone for GetAmounts
impl Clone for GetAmounts
Source§fn clone(&self) -> GetAmounts
fn clone(&self) -> GetAmounts
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 GetAmounts
impl Debug for GetAmounts
Source§impl From<AmountResponse> for GetAmounts
impl From<AmountResponse> for GetAmounts
Source§fn from(amount: AmountResponse) -> Self
fn from(amount: AmountResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetAmounts
impl RefUnwindSafe for GetAmounts
impl Send for GetAmounts
impl Sync for GetAmounts
impl Unpin for GetAmounts
impl UnwindSafe for GetAmounts
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