Struct swapkit_rs::QuoteFee
source · pub struct QuoteFee { /* private fields */ }Implementations§
source§impl QuoteFee
impl QuoteFee
pub const fn get_fee_type(&self) -> &String
pub const fn get_asset(&self) -> &String
pub const fn get_network_fee(&self) -> Decimal
pub const fn get_network_fee_usd(&self) -> Decimal
pub const fn get_affiliate_fee(&self) -> Decimal
pub const fn get_affiliate_fee_usd(&self) -> Decimal
pub const fn get_total_fee(&self) -> Decimal
pub const fn get_total_fee_usd(&self) -> Decimal
pub const fn get_is_out_of_pocket(&self) -> bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for QuoteFee
impl<'de> Deserialize<'de> for QuoteFee
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
Auto Trait Implementations§
impl Freeze for QuoteFee
impl RefUnwindSafe for QuoteFee
impl Send for QuoteFee
impl Sync for QuoteFee
impl Unpin for QuoteFee
impl UnwindSafe for QuoteFee
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