pub struct QueryCurrentMarginOrderCountUsageParamsBuilder { /* private fields */ }Expand description
Builder for QueryCurrentMarginOrderCountUsageParams.
Implementations§
Source§impl QueryCurrentMarginOrderCountUsageParamsBuilder
impl QueryCurrentMarginOrderCountUsageParamsBuilder
Sourcepub fn is_isolated<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn is_isolated<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
For isolated margin or not, “TRUE”, “FALSE”, default “FALSE”
This field is **optional.
Sourcepub fn symbol<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn symbol<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
isolated margin pair
This field is **optional.
Sourcepub fn recv_window<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn recv_window<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
No more than 60000
This field is **optional.
Sourcepub fn build(
self,
) -> Result<QueryCurrentMarginOrderCountUsageParams, ParamBuildError>
pub fn build( self, ) -> Result<QueryCurrentMarginOrderCountUsageParams, ParamBuildError>
Builds a new QueryCurrentMarginOrderCountUsageParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryCurrentMarginOrderCountUsageParamsBuilder
impl RefUnwindSafe for QueryCurrentMarginOrderCountUsageParamsBuilder
impl Send for QueryCurrentMarginOrderCountUsageParamsBuilder
impl Sync for QueryCurrentMarginOrderCountUsageParamsBuilder
impl Unpin for QueryCurrentMarginOrderCountUsageParamsBuilder
impl UnsafeUnpin for QueryCurrentMarginOrderCountUsageParamsBuilder
impl UnwindSafe for QueryCurrentMarginOrderCountUsageParamsBuilder
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