pub struct HashrateResaleRequestParams {
pub user_name: String,
pub algo: String,
pub end_date: i64,
pub start_date: i64,
pub to_pool_user: String,
pub hash_rate: i64,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [hashrate_resale_request] operation.
This struct holds all of the inputs you can pass when calling
hashrate_resale_request.
Fields§
§user_name: StringMining account test
This field is **required.
algo: StringAlgorithm(sha256) sha256
This field is **required.
end_date: i64Resale End Time (Millisecond timestamp) 1617659086000
This field is **required.
start_date: i64Resale Start Time(Millisecond timestamp) 1607659086000
This field is **required.
to_pool_user: StringMining Account S19pro
This field is **required.
hash_rate: i64Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000) 100000000
This field is **required.
recv_window: Option<i64>The recv_window parameter.
This field is **optional.
Implementations§
Source§impl HashrateResaleRequestParams
impl HashrateResaleRequestParams
Sourcepub fn builder(
user_name: String,
algo: String,
end_date: i64,
start_date: i64,
to_pool_user: String,
hash_rate: i64,
) -> HashrateResaleRequestParamsBuilder
pub fn builder( user_name: String, algo: String, end_date: i64, start_date: i64, to_pool_user: String, hash_rate: i64, ) -> HashrateResaleRequestParamsBuilder
Create a builder for [hashrate_resale_request].
Required parameters:
user_name— Mining account testalgo— Algorithm(sha256) sha256end_date— Resale End Time (Millisecond timestamp) 1617659086000start_date— Resale Start Time(Millisecond timestamp) 1607659086000to_pool_user— Mining Account S19prohash_rate— Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000) 100000000
Trait Implementations§
Source§impl Clone for HashrateResaleRequestParams
impl Clone for HashrateResaleRequestParams
Source§fn clone(&self) -> HashrateResaleRequestParams
fn clone(&self) -> HashrateResaleRequestParams
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 moreAuto Trait Implementations§
impl Freeze for HashrateResaleRequestParams
impl RefUnwindSafe for HashrateResaleRequestParams
impl Send for HashrateResaleRequestParams
impl Sync for HashrateResaleRequestParams
impl Unpin for HashrateResaleRequestParams
impl UnsafeUnpin for HashrateResaleRequestParams
impl UnwindSafe for HashrateResaleRequestParams
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