pub struct DepositAddressParams {
pub coin: String,
pub network: Option<String>,
pub amount: Option<Decimal>,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [deposit_address] operation.
This struct holds all of the inputs you can pass when calling
deposit_address.
Fields§
§coin: StringThe coin parameter.
This field is **required.
network: Option<String>The network parameter.
This field is **optional.
amount: Option<Decimal>The amount parameter.
This field is **optional.
recv_window: Option<i64>The recv_window parameter.
This field is **optional.
Implementations§
Source§impl DepositAddressParams
impl DepositAddressParams
Sourcepub fn builder(coin: String) -> DepositAddressParamsBuilder
pub fn builder(coin: String) -> DepositAddressParamsBuilder
Create a builder for [deposit_address].
Required parameters:
coin— String
Trait Implementations§
Source§impl Clone for DepositAddressParams
impl Clone for DepositAddressParams
Source§fn clone(&self) -> DepositAddressParams
fn clone(&self) -> DepositAddressParams
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 DepositAddressParams
impl RefUnwindSafe for DepositAddressParams
impl Send for DepositAddressParams
impl Sync for DepositAddressParams
impl Unpin for DepositAddressParams
impl UnsafeUnpin for DepositAddressParams
impl UnwindSafe for DepositAddressParams
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