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
Unique WebSocket request ID.
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
Describe a single 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
List of symbols to query
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
The symbol_status parameter.
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