pub struct FiatOnrampUrlSessionResponse {
pub session_id: String,
pub type_: FiatOnrampUrlSessionResponseType,
pub url: String,
}Expand description
Provider session initialization for popup-based providers.
JSON schema
{
"title": "FiatOnrampUrlSessionResponse",
"description": "Provider session initialization for popup-based
providers.",
"examples": [
{
"session_id": "cm8g7t2kw0001qjpfxhz6dn4r",
"type": "url",
"url": "https://meld.io/widget/session/abc123"
}
],
"type": "object",
"required": [
"session_id",
"type",
"url"
],
"properties": {
"session_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"url"
]
},
"url": {
"type": "string",
"format": "uri"
}
},
"x-stainless-model": "onramps.fiat_onramp_url_session_response"
}Fields§
§session_id: String§type_: FiatOnrampUrlSessionResponseType§url: StringTrait Implementations§
Source§impl Clone for FiatOnrampUrlSessionResponse
impl Clone for FiatOnrampUrlSessionResponse
Source§fn clone(&self) -> FiatOnrampUrlSessionResponse
fn clone(&self) -> FiatOnrampUrlSessionResponse
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 FiatOnrampUrlSessionResponse
impl Debug for FiatOnrampUrlSessionResponse
Source§impl<'de> Deserialize<'de> for FiatOnrampUrlSessionResponse
impl<'de> Deserialize<'de> for FiatOnrampUrlSessionResponse
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<&FiatOnrampUrlSessionResponse> for FiatOnrampUrlSessionResponse
impl From<&FiatOnrampUrlSessionResponse> for FiatOnrampUrlSessionResponse
Source§fn from(value: &FiatOnrampUrlSessionResponse) -> Self
fn from(value: &FiatOnrampUrlSessionResponse) -> 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 FiatOnrampUrlSessionResponse
impl RefUnwindSafe for FiatOnrampUrlSessionResponse
impl Send for FiatOnrampUrlSessionResponse
impl Sync for FiatOnrampUrlSessionResponse
impl Unpin for FiatOnrampUrlSessionResponse
impl UnsafeUnpin for FiatOnrampUrlSessionResponse
impl UnwindSafe for FiatOnrampUrlSessionResponse
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