pub struct ListAllConvertPairsParams {
pub from_asset: Option<String>,
pub to_asset: Option<String>,
}Expand description
Request parameters for the [list_all_convert_pairs] operation.
This struct holds all of the inputs you can pass when calling
list_all_convert_pairs.
Fields§
§from_asset: Option<String>User spends coin
This field is **optional.
to_asset: Option<String>User receives coin
This field is **optional.
Implementations§
Source§impl ListAllConvertPairsParams
impl ListAllConvertPairsParams
Sourcepub fn builder() -> ListAllConvertPairsParamsBuilder
pub fn builder() -> ListAllConvertPairsParamsBuilder
Create a builder for [list_all_convert_pairs].
Trait Implementations§
Source§impl Clone for ListAllConvertPairsParams
impl Clone for ListAllConvertPairsParams
Source§fn clone(&self) -> ListAllConvertPairsParams
fn clone(&self) -> ListAllConvertPairsParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListAllConvertPairsParams
impl Debug for ListAllConvertPairsParams
Source§impl Default for ListAllConvertPairsParams
impl Default for ListAllConvertPairsParams
Source§fn default() -> ListAllConvertPairsParams
fn default() -> ListAllConvertPairsParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListAllConvertPairsParams
impl RefUnwindSafe for ListAllConvertPairsParams
impl Send for ListAllConvertPairsParams
impl Sync for ListAllConvertPairsParams
impl Unpin for ListAllConvertPairsParams
impl UnsafeUnpin for ListAllConvertPairsParams
impl UnwindSafe for ListAllConvertPairsParams
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