pub struct BybitCancelAllOrdersParamsBuilder { /* private fields */ }Expand description
Builder for BybitCancelAllOrdersParams.
Implementations§
Source§impl BybitCancelAllOrdersParamsBuilder
impl BybitCancelAllOrdersParamsBuilder
pub fn category<VALUE: Into<BybitProductType>>( &mut self, value: VALUE, ) -> &mut Self
pub fn symbol<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn base_coin<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn settle_coin<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn order_filter<VALUE: Into<BybitOrderFilter>>( &mut self, value: VALUE, ) -> &mut Self
pub fn stop_order_type<VALUE: Into<BybitStopOrderType>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<BybitCancelAllOrdersParams, BybitCancelAllOrdersParamsBuilderError>
pub fn build( &self, ) -> Result<BybitCancelAllOrdersParams, BybitCancelAllOrdersParamsBuilderError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BybitCancelAllOrdersParamsBuilder
impl RefUnwindSafe for BybitCancelAllOrdersParamsBuilder
impl Send for BybitCancelAllOrdersParamsBuilder
impl Sync for BybitCancelAllOrdersParamsBuilder
impl Unpin for BybitCancelAllOrdersParamsBuilder
impl UnsafeUnpin for BybitCancelAllOrdersParamsBuilder
impl UnwindSafe for BybitCancelAllOrdersParamsBuilder
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more