pub struct SmallLiabilityExchangeParams {
pub asset_names: Vec<String>,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [small_liability_exchange] operation.
This struct holds all of the inputs you can pass when calling
small_liability_exchange.
Fields§
§asset_names: Vec<String>The assets list of small liability exchange, Example: assetNames = BTC,ETH
This field is **required.
recv_window: Option<i64>No more than 60000
This field is **optional.
Implementations§
Source§impl SmallLiabilityExchangeParams
impl SmallLiabilityExchangeParams
Sourcepub fn builder(asset_names: Vec<String>) -> SmallLiabilityExchangeParamsBuilder
pub fn builder(asset_names: Vec<String>) -> SmallLiabilityExchangeParamsBuilder
Create a builder for [small_liability_exchange].
Required parameters:
asset_names— The assets list of small liability exchange, Example: assetNames = BTC,ETH
Trait Implementations§
Source§impl Clone for SmallLiabilityExchangeParams
impl Clone for SmallLiabilityExchangeParams
Source§fn clone(&self) -> SmallLiabilityExchangeParams
fn clone(&self) -> SmallLiabilityExchangeParams
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 SmallLiabilityExchangeParams
impl RefUnwindSafe for SmallLiabilityExchangeParams
impl Send for SmallLiabilityExchangeParams
impl Sync for SmallLiabilityExchangeParams
impl Unpin for SmallLiabilityExchangeParams
impl UnsafeUnpin for SmallLiabilityExchangeParams
impl UnwindSafe for SmallLiabilityExchangeParams
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