pub enum FiatCustomerResponse {
FiatCustomerResponse(BridgeFiatCustomerResponse),
SandboxFiatCustomerResponse(BridgeSandboxFiatCustomerResponse),
}Expand description
The response for getting a native onramp provider customer.
JSON schema
{
"title": "FiatCustomerResponse",
"description": "The response for getting a native onramp provider
customer.",
"examples": [
{
"has_accepted_terms": true,
"provider": "bridge",
"status": "active"
}
],
"oneOf": [
{
"$ref": "#/components/schemas/BridgeFiatCustomerResponse"
},
{
"$ref": "#/components/schemas/BridgeSandboxFiatCustomerResponse"
}
],
"x-stainless-model": "onramps.fiat_customer_response"
}Variants§
FiatCustomerResponse(BridgeFiatCustomerResponse)
SandboxFiatCustomerResponse(BridgeSandboxFiatCustomerResponse)
Trait Implementations§
Source§impl Clone for FiatCustomerResponse
impl Clone for FiatCustomerResponse
Source§fn clone(&self) -> FiatCustomerResponse
fn clone(&self) -> FiatCustomerResponse
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 FiatCustomerResponse
impl Debug for FiatCustomerResponse
Source§impl<'de> Deserialize<'de> for FiatCustomerResponse
impl<'de> Deserialize<'de> for FiatCustomerResponse
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<&FiatCustomerResponse> for FiatCustomerResponse
impl From<&FiatCustomerResponse> for FiatCustomerResponse
Source§fn from(value: &FiatCustomerResponse) -> Self
fn from(value: &FiatCustomerResponse) -> Self
Converts to this type from the input type.
Source§impl From<BridgeFiatCustomerResponse> for FiatCustomerResponse
impl From<BridgeFiatCustomerResponse> for FiatCustomerResponse
Source§fn from(value: BridgeFiatCustomerResponse) -> Self
fn from(value: BridgeFiatCustomerResponse) -> Self
Converts to this type from the input type.
Source§impl From<BridgeSandboxFiatCustomerResponse> for FiatCustomerResponse
impl From<BridgeSandboxFiatCustomerResponse> for FiatCustomerResponse
Source§fn from(value: BridgeSandboxFiatCustomerResponse) -> Self
fn from(value: BridgeSandboxFiatCustomerResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FiatCustomerResponse
impl RefUnwindSafe for FiatCustomerResponse
impl Send for FiatCustomerResponse
impl Sync for FiatCustomerResponse
impl Unpin for FiatCustomerResponse
impl UnsafeUnpin for FiatCustomerResponse
impl UnwindSafe for FiatCustomerResponse
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