pub struct UserAssetParams {
pub asset: Option<String>,
pub need_btc_valuation: Option<bool>,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [user_asset] operation.
This struct holds all of the inputs you can pass when calling
user_asset.
Fields§
§asset: Option<String>If asset is blank, then query all positive assets user have.
This field is **optional.
need_btc_valuation: Option<bool>Whether need btc valuation or not.
This field is **optional.
recv_window: Option<i64>The recv_window parameter.
This field is **optional.
Implementations§
Source§impl UserAssetParams
impl UserAssetParams
Sourcepub fn builder() -> UserAssetParamsBuilder
pub fn builder() -> UserAssetParamsBuilder
Create a builder for [user_asset].
Trait Implementations§
Source§impl Clone for UserAssetParams
impl Clone for UserAssetParams
Source§fn clone(&self) -> UserAssetParams
fn clone(&self) -> UserAssetParams
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 UserAssetParams
impl Debug for UserAssetParams
Source§impl Default for UserAssetParams
impl Default for UserAssetParams
Source§fn default() -> UserAssetParams
fn default() -> UserAssetParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UserAssetParams
impl RefUnwindSafe for UserAssetParams
impl Send for UserAssetParams
impl Sync for UserAssetParams
impl Unpin for UserAssetParams
impl UnsafeUnpin for UserAssetParams
impl UnwindSafe for UserAssetParams
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