pub enum GetFiatOnrampUrlResponse {
UrlSessionResponse(FiatOnrampUrlSessionResponse),
StripeSdkSessionResponse(FiatOnrampStripeSdkSessionResponse),
}Expand description
Provider session initialization — either a hosted URL or embedded SDK config.
JSON schema
{
"title": "GetFiatOnrampUrlResponse",
"description": "Provider session initialization — either a hosted URL
or embedded SDK config.",
"oneOf": [
{
"$ref": "#/components/schemas/FiatOnrampUrlSessionResponse"
},
{
"$ref": "#/components/schemas/FiatOnrampStripeSdkSessionResponse"
}
],
"x-stainless-model": "onramps.get_fiat_onramp_url_response"
}Variants§
UrlSessionResponse(FiatOnrampUrlSessionResponse)
StripeSdkSessionResponse(FiatOnrampStripeSdkSessionResponse)
Trait Implementations§
Source§impl Clone for GetFiatOnrampUrlResponse
impl Clone for GetFiatOnrampUrlResponse
Source§fn clone(&self) -> GetFiatOnrampUrlResponse
fn clone(&self) -> GetFiatOnrampUrlResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetFiatOnrampUrlResponse
impl Debug for GetFiatOnrampUrlResponse
Source§impl<'de> Deserialize<'de> for GetFiatOnrampUrlResponse
impl<'de> Deserialize<'de> for GetFiatOnrampUrlResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&GetFiatOnrampUrlResponse> for GetFiatOnrampUrlResponse
impl From<&GetFiatOnrampUrlResponse> for GetFiatOnrampUrlResponse
Source§fn from(value: &GetFiatOnrampUrlResponse) -> Self
fn from(value: &GetFiatOnrampUrlResponse) -> Self
Converts to this type from the input type.
Source§impl From<FiatOnrampStripeSdkSessionResponse> for GetFiatOnrampUrlResponse
impl From<FiatOnrampStripeSdkSessionResponse> for GetFiatOnrampUrlResponse
Source§fn from(value: FiatOnrampStripeSdkSessionResponse) -> Self
fn from(value: FiatOnrampStripeSdkSessionResponse) -> Self
Converts to this type from the input type.
Source§impl From<FiatOnrampUrlSessionResponse> for GetFiatOnrampUrlResponse
impl From<FiatOnrampUrlSessionResponse> for GetFiatOnrampUrlResponse
Source§fn from(value: FiatOnrampUrlSessionResponse) -> Self
fn from(value: FiatOnrampUrlSessionResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetFiatOnrampUrlResponse
impl RefUnwindSafe for GetFiatOnrampUrlResponse
impl Send for GetFiatOnrampUrlResponse
impl Sync for GetFiatOnrampUrlResponse
impl Unpin for GetFiatOnrampUrlResponse
impl UnsafeUnpin for GetFiatOnrampUrlResponse
impl UnwindSafe for GetFiatOnrampUrlResponse
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