pub struct QueryPreventedMatchesParamsBuilder { /* private fields */ }Expand description
Builder for QueryPreventedMatchesParams.
Implementations§
Source§impl QueryPreventedMatchesParamsBuilder
impl QueryPreventedMatchesParamsBuilder
Sourcepub fn symbol<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn symbol<VALUE: Into<String>>(self, value: VALUE) -> Self
The symbol parameter.
This field is **required.
Sourcepub fn prevented_match_id<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn prevented_match_id<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
The prevented_match_id parameter.
This field is **optional.
Sourcepub fn order_id<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn order_id<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
The order_id parameter.
This field is **optional.
Sourcepub fn from_prevented_match_id<VALUE: Into<Option<i64>>>(
self,
value: VALUE,
) -> Self
pub fn from_prevented_match_id<VALUE: Into<Option<i64>>>( self, value: VALUE, ) -> Self
The from_prevented_match_id 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
No more than 60000
This field is **optional.
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 build(self) -> Result<QueryPreventedMatchesParams, ParamBuildError>
pub fn build(self) -> Result<QueryPreventedMatchesParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryPreventedMatchesParamsBuilder
impl RefUnwindSafe for QueryPreventedMatchesParamsBuilder
impl Send for QueryPreventedMatchesParamsBuilder
impl Sync for QueryPreventedMatchesParamsBuilder
impl Unpin for QueryPreventedMatchesParamsBuilder
impl UnsafeUnpin for QueryPreventedMatchesParamsBuilder
impl UnwindSafe for QueryPreventedMatchesParamsBuilder
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