pub struct DustConvertibleAssetsParams {
pub target_asset: String,
pub account_type: Option<String>,
pub dust_quota_asset_to_target_asset_price: Option<Decimal>,
}Expand description
Request parameters for the [dust_convertible_assets] operation.
This struct holds all of the inputs you can pass when calling
dust_convertible_assets.
Fields§
§target_asset: StringThe target_asset parameter.
This field is **required.
account_type: Option<String>SPOT or MARGIN,default SPOT
This field is **optional.
dust_quota_asset_to_target_asset_price: Option<Decimal>The dust_quota_asset_to_target_asset_price parameter.
This field is **optional.
Implementations§
Source§impl DustConvertibleAssetsParams
impl DustConvertibleAssetsParams
Sourcepub fn builder(target_asset: String) -> DustConvertibleAssetsParamsBuilder
pub fn builder(target_asset: String) -> DustConvertibleAssetsParamsBuilder
Create a builder for [dust_convertible_assets].
Required parameters:
target_asset— String
Trait Implementations§
Source§impl Clone for DustConvertibleAssetsParams
impl Clone for DustConvertibleAssetsParams
Source§fn clone(&self) -> DustConvertibleAssetsParams
fn clone(&self) -> DustConvertibleAssetsParams
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 moreAuto Trait Implementations§
impl Freeze for DustConvertibleAssetsParams
impl RefUnwindSafe for DustConvertibleAssetsParams
impl Send for DustConvertibleAssetsParams
impl Sync for DustConvertibleAssetsParams
impl Unpin for DustConvertibleAssetsParams
impl UnsafeUnpin for DustConvertibleAssetsParams
impl UnwindSafe for DustConvertibleAssetsParams
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