pub struct FetchDepositAddressListWithNetworkParams {
pub coin: String,
pub network: Option<String>,
}Expand description
Request parameters for the [fetch_deposit_address_list_with_network] operation.
This struct holds all of the inputs you can pass when calling
fetch_deposit_address_list_with_network.
Fields§
§coin: StringCoin name
This field is **required.
network: Option<String>If network is not send, return with default network of the coin. You can get network and isDefault in networkList in the response of Get /sapi/v1/capital/config/getall
This field is **optional.
Implementations§
Source§impl FetchDepositAddressListWithNetworkParams
impl FetchDepositAddressListWithNetworkParams
Sourcepub fn builder(coin: String) -> FetchDepositAddressListWithNetworkParamsBuilder
pub fn builder(coin: String) -> FetchDepositAddressListWithNetworkParamsBuilder
Create a builder for [fetch_deposit_address_list_with_network].
Required parameters:
coin— Coin name
Trait Implementations§
Source§impl Clone for FetchDepositAddressListWithNetworkParams
impl Clone for FetchDepositAddressListWithNetworkParams
Source§fn clone(&self) -> FetchDepositAddressListWithNetworkParams
fn clone(&self) -> FetchDepositAddressListWithNetworkParams
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<'de> Deserialize<'de> for FetchDepositAddressListWithNetworkParams
impl<'de> Deserialize<'de> for FetchDepositAddressListWithNetworkParams
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 FetchDepositAddressListWithNetworkParams
impl RefUnwindSafe for FetchDepositAddressListWithNetworkParams
impl Send for FetchDepositAddressListWithNetworkParams
impl Sync for FetchDepositAddressListWithNetworkParams
impl Unpin for FetchDepositAddressListWithNetworkParams
impl UnsafeUnpin for FetchDepositAddressListWithNetworkParams
impl UnwindSafe for FetchDepositAddressListWithNetworkParams
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