pub struct QuoteMeta { /* private fields */ }
Implementations§
Source§impl QuoteMeta
impl QuoteMeta
pub const fn get_has_streaming_swap(&self) -> bool
pub const fn get_slippage_percentage(&self) -> Decimal
pub const fn get_sell_chain(&self) -> &String
pub const fn get_sell_chain_gas_rate(&self) -> Option<Decimal>
pub const fn get_buy_chain(&self) -> &String
pub const fn get_buy_chain_gas_rate(&self) -> Decimal
pub const fn get_price_protection_required(&self) -> bool
pub const fn get_price_protection_detected(&self) -> bool
pub const fn get_quote_mode(&self) -> &String
pub const fn get_thornode_meta(&self) -> &QuoteThornodeMeta
pub const fn get_recommended_slippage(&self) -> Decimal
pub const fn get_warnings(&self) -> &Vec<QuoteWarning>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QuoteMeta
impl<'de> Deserialize<'de> for QuoteMeta
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 QuoteMeta
impl RefUnwindSafe for QuoteMeta
impl Send for QuoteMeta
impl Sync for QuoteMeta
impl Unpin for QuoteMeta
impl UnwindSafe for QuoteMeta
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