pub struct AccountListParams {
pub algo: String,
pub user_name: String,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [account_list] operation.
This struct holds all of the inputs you can pass when calling
account_list.
Fields§
§algo: StringAlgorithm name.
This field is **required.
user_name: StringMining account
This field is **required.
recv_window: Option<i64>Request validity window in milliseconds.
This field is **optional.
Implementations§
Source§impl AccountListParams
impl AccountListParams
Sourcepub fn builder(algo: String, user_name: String) -> AccountListParamsBuilder
pub fn builder(algo: String, user_name: String) -> AccountListParamsBuilder
Create a builder for [account_list].
Required parameters:
algo— Algorithm name.user_name— Mining account
Trait Implementations§
Source§impl Clone for AccountListParams
impl Clone for AccountListParams
Source§fn clone(&self) -> AccountListParams
fn clone(&self) -> AccountListParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountListParams
impl Debug for AccountListParams
Source§impl<'de> Deserialize<'de> for AccountListParams
impl<'de> Deserialize<'de> for AccountListParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AccountListParams
impl RefUnwindSafe for AccountListParams
impl Send for AccountListParams
impl Sync for AccountListParams
impl Unpin for AccountListParams
impl UnsafeUnpin for AccountListParams
impl UnwindSafe for AccountListParams
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