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) -> Self
Trait Implementations§
Source§impl Clone for DepositWithdrawFee
impl Clone for DepositWithdrawFee
Source§impl Debug for DepositWithdrawFee
impl Debug for DepositWithdrawFee
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