pub struct CreateConvertGetQuoteV1Params {
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 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 CreateConvertGetQuoteV1Params
impl Clone for CreateConvertGetQuoteV1Params
Source§fn clone(&self) -> CreateConvertGetQuoteV1Params
fn clone(&self) -> CreateConvertGetQuoteV1Params
Returns a duplicate 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 CreateConvertGetQuoteV1Params
impl Default for CreateConvertGetQuoteV1Params
Source§fn default() -> CreateConvertGetQuoteV1Params
fn default() -> CreateConvertGetQuoteV1Params
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateConvertGetQuoteV1Params
impl RefUnwindSafe for CreateConvertGetQuoteV1Params
impl Send for CreateConvertGetQuoteV1Params
impl Sync for CreateConvertGetQuoteV1Params
impl Unpin for CreateConvertGetQuoteV1Params
impl UnwindSafe for CreateConvertGetQuoteV1Params
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