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