pub struct SessionLogonParamsBuilder { /* private fields */ }Expand description
Builder for SessionLogonParams.
Implementations§
Source§impl SessionLogonParamsBuilder
impl SessionLogonParamsBuilder
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 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<SessionLogonParams, ParamBuildError>
pub fn build(self) -> Result<SessionLogonParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionLogonParamsBuilder
impl RefUnwindSafe for SessionLogonParamsBuilder
impl Send for SessionLogonParamsBuilder
impl Sync for SessionLogonParamsBuilder
impl Unpin for SessionLogonParamsBuilder
impl UnsafeUnpin for SessionLogonParamsBuilder
impl UnwindSafe for SessionLogonParamsBuilder
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