pub struct RepayQuote { /* private fields */ }
Implementations§
Source§impl RepayQuote
impl RepayQuote
pub fn get_inbound_address(&self) -> &str
pub const fn get_inbound_confirmation_blocks(&self) -> Decimal
pub const fn get_inbound_confirmation_seconds(&self) -> Decimal
pub const fn get_outbound_delay_blocks(&self) -> Decimal
pub const fn get_outbound_delay_seconds(&self) -> Decimal
pub const fn get_fees(&self) -> &HashMap<String, Vec<QuoteFee>>
pub const fn get_expiry(&self) -> Decimal
pub fn get_warning(&self) -> &str
pub fn get_notes(&self) -> &str
pub fn get_dust_threshold(&self) -> &str
pub fn get_recommended_min_amount_in(&self) -> &str
pub fn get_memo(&self) -> &str
pub fn get_expected_amount_out(&self) -> &str
pub fn get_expected_amount_in(&self) -> &str
pub fn get_expected_collateral_withdrawn(&self) -> &str
pub fn get_expected_debt_repaid(&self) -> &str
pub const fn get_streaming_swap_blocks(&self) -> Decimal
pub const fn get_streaming_swap_seconds(&self) -> Decimal
pub const fn get_total_repay_seconds(&self) -> Decimal
pub fn get_collateral_current(&self) -> &str
pub fn get_repay_asset_amount(&self) -> &str
pub fn get_repay_asset_amount_usd(&self) -> &str
pub const fn get_time_estimates(&self) -> &QuoteTimeEstimates
pub const fn get_streaming_swap(&self) -> &StreamingSwap
Trait Implementations§
Source§impl Clone for RepayQuote
impl Clone for RepayQuote
Source§fn clone(&self) -> RepayQuote
fn clone(&self) -> RepayQuote
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RepayQuote
impl Debug for RepayQuote
Source§impl<'de> Deserialize<'de> for RepayQuote
impl<'de> Deserialize<'de> for RepayQuote
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 RepayQuote
impl RefUnwindSafe for RepayQuote
impl Send for RepayQuote
impl Sync for RepayQuote
impl Unpin for RepayQuote
impl UnwindSafe for RepayQuote
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