pub struct AccountStatusParamsBuilder { /* private fields */ }Expand description
Builder for AccountStatusParams.
Implementations§
Source§impl AccountStatusParamsBuilder
impl AccountStatusParamsBuilder
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 omit_zero_balances<VALUE: Into<Option<bool>>>(self, value: VALUE) -> Self
pub fn omit_zero_balances<VALUE: Into<Option<bool>>>(self, value: VALUE) -> Self
When set to true, emits only the non-zero balances of an account.
Default value: false
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<AccountStatusParams, ParamBuildError>
pub fn build(self) -> Result<AccountStatusParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AccountStatusParamsBuilder
impl RefUnwindSafe for AccountStatusParamsBuilder
impl Send for AccountStatusParamsBuilder
impl Sync for AccountStatusParamsBuilder
impl Unpin for AccountStatusParamsBuilder
impl UnsafeUnpin for AccountStatusParamsBuilder
impl UnwindSafe for AccountStatusParamsBuilder
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