pub struct QueryCurrentMarginOrderCountUsageParamsBuilder { /* private fields */ }Expand description
Builder for QueryCurrentMarginOrderCountUsageParams.
Implementations§
Source§impl QueryCurrentMarginOrderCountUsageParamsBuilder
impl QueryCurrentMarginOrderCountUsageParamsBuilder
Sourcepub fn is_isolated<VALUE: Into<Option<QueryCurrentMarginOrderCountUsageIsIsolatedEnum>>>(
self,
value: VALUE,
) -> Self
pub fn is_isolated<VALUE: Into<Option<QueryCurrentMarginOrderCountUsageIsIsolatedEnum>>>( self, value: VALUE, ) -> Self
The is_isolated parameter.
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
The symbol parameter.
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
The recv_window parameter.
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