pub struct DepositWithdrawFee {
pub currency: String,
pub withdraw_fee: f64,
pub withdraw_min: f64,
pub withdraw_max: f64,
pub deposit_enable: bool,
pub withdraw_enable: bool,
pub networks: Vec<NetworkInfo>,
pub info: Option<Value>,
}Expand description
Deposit and withdrawal fee information.
Contains deposit and withdrawal fee details for a specific currency.
Fields§
§currency: StringCurrency code.
withdraw_fee: f64Withdrawal fee amount.
withdraw_min: f64Minimum withdrawal amount.
withdraw_max: f64Maximum withdrawal amount.
deposit_enable: boolWhether deposits are enabled.
withdraw_enable: boolWhether withdrawals are enabled.
networks: Vec<NetworkInfo>List of supported networks.
info: Option<Value>Raw exchange response data.
Trait Implementations§
Source§impl Clone for DepositWithdrawFee
impl Clone for DepositWithdrawFee
Source§fn clone(&self) -> DepositWithdrawFee
fn clone(&self) -> DepositWithdrawFee
Returns a duplicate of the value. Read more
1.0.0 · 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 DepositWithdrawFee
impl Debug for DepositWithdrawFee
Source§impl<'de> Deserialize<'de> for DepositWithdrawFee
impl<'de> Deserialize<'de> for DepositWithdrawFee
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DepositWithdrawFee, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DepositWithdrawFee, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DepositWithdrawFee
impl Serialize for DepositWithdrawFee
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DepositWithdrawFee
impl RefUnwindSafe for DepositWithdrawFee
impl Send for DepositWithdrawFee
impl Sync for DepositWithdrawFee
impl Unpin for DepositWithdrawFee
impl UnwindSafe for DepositWithdrawFee
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