pub struct OnrampQuote { /* private fields */ }Implementations§
Source§impl OnrampQuote
impl OnrampQuote
pub fn destination_network<T>(self, value: T) -> Self
pub fn exchange_rate<T>(self, value: T) -> Self
pub fn fees<T>(self, value: T) -> Self
pub fn payment_currency<T>(self, value: T) -> Self
pub fn payment_subtotal<T>(self, value: T) -> Self
pub fn payment_total<T>(self, value: T) -> Self
pub fn purchase_amount<T>(self, value: T) -> Self
pub fn purchase_currency<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for OnrampQuote
impl Clone for OnrampQuote
Source§fn clone(&self) -> OnrampQuote
fn clone(&self) -> OnrampQuote
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 OnrampQuote
impl Debug for OnrampQuote
Source§impl Default for OnrampQuote
impl Default for OnrampQuote
Source§impl From<OnrampQuote> for OnrampQuote
impl From<OnrampQuote> for OnrampQuote
Source§fn from(value: OnrampQuote) -> Self
fn from(value: OnrampQuote) -> Self
Converts to this type from the input type.
Source§impl TryFrom<OnrampQuote> for OnrampQuote
impl TryFrom<OnrampQuote> for OnrampQuote
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OnrampQuote) -> Result<Self, ConversionError>
fn try_from(value: OnrampQuote) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OnrampQuote
impl RefUnwindSafe for OnrampQuote
impl Send for OnrampQuote
impl Sync for OnrampQuote
impl Unpin for OnrampQuote
impl UnwindSafe for OnrampQuote
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