pub struct GetDepositAddressParams {
pub coin: String,
pub chain_type: Option<String>,
}Expand description
Query params for
Client::get_deposit_address.
Fields§
§coin: StringCoin name, uppercase only
chain_type: Option<String>Chain type, from Client::get_coin_info
Implementations§
Source§impl GetDepositAddressParams
impl GetDepositAddressParams
Sourcepub fn new(coin: impl Into<String>) -> Self
pub fn new(coin: impl Into<String>) -> Self
Create with the required fields; set the optional ones with the with_* methods.
Sourcepub fn with_chain_type(self, v: impl Into<String>) -> Self
pub fn with_chain_type(self, v: impl Into<String>) -> Self
Set chain_type: chain type, from Client::get_coin_info.
Trait Implementations§
Source§impl Clone for GetDepositAddressParams
impl Clone for GetDepositAddressParams
Source§impl Debug for GetDepositAddressParams
impl Debug for GetDepositAddressParams
Auto Trait Implementations§
impl Freeze for GetDepositAddressParams
impl RefUnwindSafe for GetDepositAddressParams
impl Send for GetDepositAddressParams
impl Sync for GetDepositAddressParams
impl Unpin for GetDepositAddressParams
impl UnsafeUnpin for GetDepositAddressParams
impl UnwindSafe for GetDepositAddressParams
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