pub struct DepositWithdrawFee {
pub withdraw: DepositWithdrawFeeLeg,
pub deposit: DepositWithdrawFeeLeg,
pub networks: IndexMap<String, DepositWithdrawFeeNetwork>,
pub raw: Value,
}Expand description
Unified deposit/withdraw fee for one currency (fetchDepositWithdrawFee,
and each value of fetchDepositWithdrawFees). Mirrors the TS
DepositWithdrawFee interface: a currency-level withdraw/deposit pair
plus the same pair per network under networks.
Fields§
§withdraw: DepositWithdrawFeeLeg§deposit: DepositWithdrawFeeLeg§networks: IndexMap<String, DepositWithdrawFeeNetwork>§raw: ValueImplementations§
Source§impl DepositWithdrawFee
impl DepositWithdrawFee
pub fn from_value(v: Value) -> DepositWithdrawFee
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 (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 DepositWithdrawFee
impl Debug for DepositWithdrawFee
Source§impl Default for DepositWithdrawFee
impl Default for DepositWithdrawFee
Source§fn default() -> DepositWithdrawFee
fn default() -> DepositWithdrawFee
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for DepositWithdrawFee
impl Freeze for DepositWithdrawFee
impl Move for DepositWithdrawFee
impl RefUnwindSafe for DepositWithdrawFee
impl Send for DepositWithdrawFee
impl Sync for DepositWithdrawFee
impl Unpin for DepositWithdrawFee
impl UnsafeUnpin 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