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