pub struct AccountListParamsBuilder { /* private fields */ }Expand description
Builder for AccountListParams.
Implementations§
Source§impl AccountListParamsBuilder
impl AccountListParamsBuilder
Sourcepub fn algo<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn algo<VALUE: Into<String>>(self, value: VALUE) -> Self
Algorithm(sha256) sha256
This field is **required.
Sourcepub fn user_name<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn user_name<VALUE: Into<String>>(self, value: VALUE) -> Self
Mining account test
This field is **required.
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 recv_window parameter.
This field is **optional.
Sourcepub fn build(self) -> Result<AccountListParams, ParamBuildError>
pub fn build(self) -> Result<AccountListParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AccountListParamsBuilder
impl RefUnwindSafe for AccountListParamsBuilder
impl Send for AccountListParamsBuilder
impl Sync for AccountListParamsBuilder
impl Unpin for AccountListParamsBuilder
impl UnsafeUnpin for AccountListParamsBuilder
impl UnwindSafe for AccountListParamsBuilder
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