pub struct DepositWithdrawFeeLeg {
pub fee: Option<f64>,
pub percentage: Option<bool>,
}Expand description
One leg of a DepositWithdrawFee — the fee for a deposit or a withdrawal,
and whether it is a percentage of the amount (vs. a flat fee). Mirrors the
TS DepositWithdrawFeeNetwork interface.
Fields§
§fee: Option<f64>§percentage: Option<bool>Trait Implementations§
Source§impl Clone for DepositWithdrawFeeLeg
impl Clone for DepositWithdrawFeeLeg
Source§fn clone(&self) -> DepositWithdrawFeeLeg
fn clone(&self) -> DepositWithdrawFeeLeg
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 moreimpl Copy for DepositWithdrawFeeLeg
Source§impl Debug for DepositWithdrawFeeLeg
impl Debug for DepositWithdrawFeeLeg
Source§impl Default for DepositWithdrawFeeLeg
impl Default for DepositWithdrawFeeLeg
Source§fn default() -> DepositWithdrawFeeLeg
fn default() -> DepositWithdrawFeeLeg
Returns the “default value” for a type. Read more
Source§impl PartialEq for DepositWithdrawFeeLeg
impl PartialEq for DepositWithdrawFeeLeg
impl StructuralPartialEq for DepositWithdrawFeeLeg
Auto Trait Implementations§
impl Forget for DepositWithdrawFeeLeg
impl Freeze for DepositWithdrawFeeLeg
impl Move for DepositWithdrawFeeLeg
impl RefUnwindSafe for DepositWithdrawFeeLeg
impl Send for DepositWithdrawFeeLeg
impl Sync for DepositWithdrawFeeLeg
impl Unpin for DepositWithdrawFeeLeg
impl UnsafeUnpin for DepositWithdrawFeeLeg
impl UnwindSafe for DepositWithdrawFeeLeg
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