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