Struct WithdrawalQuote
pub struct WithdrawalQuote {
pub fee: Option<Decimal>,
pub expected_receive: Option<Decimal>,
pub minimum_amount: Option<Decimal>,
pub maximum_amount: Option<Decimal>,
pub address_allowed: Option<bool>,
pub travel_rule: TravelRuleRequirement,
pub expires_at: Option<Timestamp>,
}Expand description
Live source-exchange checks performed before a withdrawal.
Fields§
§fee: Option<Decimal>Fee the source exchange expects to charge.
expected_receive: Option<Decimal>Expected destination amount after the known fee.
minimum_amount: Option<Decimal>Current minimum amount, when published.
maximum_amount: Option<Decimal>Current maximum amount, when published.
address_allowed: Option<bool>Whether the address is on the account’s allowlist, when knowable.
travel_rule: TravelRuleRequirementProvider-specific Travel Rule requirement.
expires_at: Option<Timestamp>Provider expiry for this quote, when one exists.
Trait Implementations§
§impl Clone for WithdrawalQuote
impl Clone for WithdrawalQuote
§impl Debug for WithdrawalQuote
impl Debug for WithdrawalQuote
impl Eq for WithdrawalQuote
§impl PartialEq for WithdrawalQuote
impl PartialEq for WithdrawalQuote
impl StructuralPartialEq for WithdrawalQuote
Auto Trait Implementations§
impl Freeze for WithdrawalQuote
impl RefUnwindSafe for WithdrawalQuote
impl Send for WithdrawalQuote
impl Sync for WithdrawalQuote
impl Unpin for WithdrawalQuote
impl UnsafeUnpin for WithdrawalQuote
impl UnwindSafe for WithdrawalQuote
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.