pub struct StreamingSwap { /* private fields */ }
Implementations§
Source§impl StreamingSwap
impl StreamingSwap
pub const fn get_inbound_address(&self) -> Option<&String>
pub const fn get_inbound_confirmation_blocks(&self) -> Option<Decimal>
pub const fn get_inbound_confirmation_seconds(&self) -> Option<Decimal>
pub const fn get_outbound_delay_blocks(&self) -> Option<Decimal>
pub const fn get_outbound_delay_seconds(&self) -> Option<Decimal>
pub const fn get_fees(&self) -> Option<&HashMap<String, Vec<QuoteFee>>>
pub const fn get_expiry(&self) -> Option<Decimal>
pub const fn get_warning(&self) -> Option<&String>
pub const fn get_notes(&self) -> Option<&String>
pub const fn get_dust_threshold(&self) -> Option<Decimal>
pub const fn get_recommended_min_amount_in(&self) -> Option<Decimal>
pub const fn get_memo(&self) -> Option<&String>
pub const fn get_expected_amount_out(&self) -> Option<Decimal>
pub const fn get_expected_amount_in(&self) -> Option<Decimal>
pub const fn get_expected_collateral_withdrawn(&self) -> Option<Decimal>
pub const fn get_expected_debt_repaid(&self) -> Option<Decimal>
pub const fn get_streaming_swap_blocks(&self) -> Option<Decimal>
pub const fn get_streaming_swap_seconds(&self) -> Option<Decimal>
pub const fn get_total_repay_seconds(&self) -> Option<Decimal>
pub const fn get_repay_asset_amount(&self) -> Option<Decimal>
pub const fn get_repay_asset_amount_usd(&self) -> Option<Decimal>
pub const fn get_expected_collateral_deposited(&self) -> Option<Decimal>
pub const fn get_expected_debt_issued(&self) -> Option<Decimal>
pub const fn get_expected_output(&self) -> Option<Decimal>
pub const fn get_expected_output_max_slippage(&self) -> Option<Decimal>
pub const fn get_expected_output_usd(&self) -> Option<Decimal>
pub const fn get_expected_output_max_slippage_usd(&self) -> Option<Decimal>
pub const fn get_time_estimates(&self) -> Option<&QuoteTimeEstimates>
Trait Implementations§
Source§impl Clone for StreamingSwap
impl Clone for StreamingSwap
Source§fn clone(&self) -> StreamingSwap
fn clone(&self) -> StreamingSwap
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 StreamingSwap
impl Debug for StreamingSwap
Source§impl<'de> Deserialize<'de> for StreamingSwap
impl<'de> Deserialize<'de> for StreamingSwap
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 StreamingSwap
impl RefUnwindSafe for StreamingSwap
impl Send for StreamingSwap
impl Sync for StreamingSwap
impl Unpin for StreamingSwap
impl UnwindSafe for StreamingSwap
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