pub struct OpenOrdersStatusParamsBuilder { /* private fields */ }Expand description
Builder for OpenOrdersStatusParams.
Implementations§
Source§impl OpenOrdersStatusParamsBuilder
impl OpenOrdersStatusParamsBuilder
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 recv_window<VALUE: Into<Option<Decimal>>>(self, value: VALUE) -> Self
pub fn recv_window<VALUE: Into<Option<Decimal>>>(self, value: VALUE) -> Self
The value cannot be greater than 60000.
Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
This field is **optional.
Sourcepub fn build(self) -> Result<OpenOrdersStatusParams, ParamBuildError>
pub fn build(self) -> Result<OpenOrdersStatusParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenOrdersStatusParamsBuilder
impl RefUnwindSafe for OpenOrdersStatusParamsBuilder
impl Send for OpenOrdersStatusParamsBuilder
impl Sync for OpenOrdersStatusParamsBuilder
impl Unpin for OpenOrdersStatusParamsBuilder
impl UnsafeUnpin for OpenOrdersStatusParamsBuilder
impl UnwindSafe for OpenOrdersStatusParamsBuilder
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