pub struct ExecutionRulesParamsBuilder { /* private fields */ }Expand description
Builder for ExecutionRulesParams.
Implementations§
Source§impl ExecutionRulesParamsBuilder
impl ExecutionRulesParamsBuilder
Sourcepub fn id<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn id<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
Client-generated request identifier.
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
Query for specified symbol.
This field is **optional.
Sourcepub fn symbols<VALUE: Into<Option<Vec<String>>>>(self, value: VALUE) -> Self
pub fn symbols<VALUE: Into<Option<Vec<String>>>>(self, value: VALUE) -> Self
Query for multiple symbols.
This field is **optional.
Sourcepub fn symbol_status<VALUE: Into<Option<ExecutionRulesSymbolStatusEnum>>>(
self,
value: VALUE,
) -> Self
pub fn symbol_status<VALUE: Into<Option<ExecutionRulesSymbolStatusEnum>>>( self, value: VALUE, ) -> Self
Query for all symbols with the specified status. Supported values: TRADING, HALT, BREAK
This field is **optional.
Sourcepub fn build(self) -> Result<ExecutionRulesParams, ParamBuildError>
pub fn build(self) -> Result<ExecutionRulesParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecutionRulesParamsBuilder
impl RefUnwindSafe for ExecutionRulesParamsBuilder
impl Send for ExecutionRulesParamsBuilder
impl Sync for ExecutionRulesParamsBuilder
impl Unpin for ExecutionRulesParamsBuilder
impl UnsafeUnpin for ExecutionRulesParamsBuilder
impl UnwindSafe for ExecutionRulesParamsBuilder
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