pub struct FeeInfo {
pub network_fee: Option<String>,
pub service_fee: Option<String>,
pub gas_price: Option<String>,
}
Expand description
FeeInfo : Details of the transaction’s fee.
Fields§
§network_fee: Option<String>
The fee paid to the network
service_fee: Option<String>
The total fee deducted by the exchange from the actual requested amount (serviceFee = amount - netAmount)
gas_price: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FeeInfo
impl<'de> Deserialize<'de> for FeeInfo
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
impl StructuralPartialEq for FeeInfo
Auto Trait Implementations§
impl Freeze for FeeInfo
impl RefUnwindSafe for FeeInfo
impl Send for FeeInfo
impl Sync for FeeInfo
impl Unpin for FeeInfo
impl UnwindSafe for FeeInfo
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