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