pub struct SimpleAccountParamsBuilder { /* private fields */ }Expand description
Builder for SimpleAccountParams.
Implementations§
Source§impl SimpleAccountParamsBuilder
impl SimpleAccountParamsBuilder
Sourcepub fn recv_window<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn recv_window<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
The value cannot be greater than 60000 (ms)
This field is **optional.
Sourcepub fn build(self) -> Result<SimpleAccountParams, ParamBuildError>
pub fn build(self) -> Result<SimpleAccountParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimpleAccountParamsBuilder
impl RefUnwindSafe for SimpleAccountParamsBuilder
impl Send for SimpleAccountParamsBuilder
impl Sync for SimpleAccountParamsBuilder
impl Unpin for SimpleAccountParamsBuilder
impl UnsafeUnpin for SimpleAccountParamsBuilder
impl UnwindSafe for SimpleAccountParamsBuilder
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