pub struct ConvertCreateConvertGetQuoteV1Params {
pub from_asset: String,
pub timestamp: i64,
pub to_asset: String,
pub from_amount: Option<String>,
pub recv_window: Option<i64>,
pub to_amount: Option<String>,
pub valid_time: Option<String>,
pub wallet_type: Option<String>,
}Expand description
struct for passing parameters to the method convert_create_convert_get_quote_v1
Fields§
§from_asset: String§timestamp: i64§to_asset: String§from_amount: Option<String>§recv_window: Option<i64>§to_amount: Option<String>§valid_time: Option<String>§wallet_type: Option<String>Trait Implementations§
Source§impl Clone for ConvertCreateConvertGetQuoteV1Params
impl Clone for ConvertCreateConvertGetQuoteV1Params
Source§fn clone(&self) -> ConvertCreateConvertGetQuoteV1Params
fn clone(&self) -> ConvertCreateConvertGetQuoteV1Params
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 Default for ConvertCreateConvertGetQuoteV1Params
impl Default for ConvertCreateConvertGetQuoteV1Params
Source§fn default() -> ConvertCreateConvertGetQuoteV1Params
fn default() -> ConvertCreateConvertGetQuoteV1Params
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConvertCreateConvertGetQuoteV1Params
impl RefUnwindSafe for ConvertCreateConvertGetQuoteV1Params
impl Send for ConvertCreateConvertGetQuoteV1Params
impl Sync for ConvertCreateConvertGetQuoteV1Params
impl Unpin for ConvertCreateConvertGetQuoteV1Params
impl UnwindSafe for ConvertCreateConvertGetQuoteV1Params
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