pub struct BridgeFiatCustomerResponse {
pub has_accepted_terms: bool,
pub kyc_url: Option<String>,
pub provider: BridgeFiatCustomerResponseProvider,
pub rejection_reasons: Vec<BridgeFiatRejectionReason>,
pub status: OnrampKycStatus,
}Expand description
The response for getting a native onramp provider customer.
JSON schema
{
"title": "BridgeFiatCustomerResponse",
"description": "The response for getting a native onramp provider
customer.",
"examples": [
{
"has_accepted_terms": true,
"provider": "bridge",
"status": "active"
}
],
"type": "object",
"required": [
"has_accepted_terms",
"provider",
"status"
],
"properties": {
"has_accepted_terms": {
"type": "boolean"
},
"kyc_url": {
"type": "string"
},
"provider": {
"type": "string",
"enum": [
"bridge"
]
},
"rejection_reasons": {
"type": "array",
"items": {
"$ref": "#/components/schemas/BridgeFiatRejectionReason"
}
},
"status": {
"$ref": "#/components/schemas/OnrampKycStatus"
}
},
"x-stainless-model": "onramps.bridge_fiat_customer_response"
}Fields§
§has_accepted_terms: bool§kyc_url: Option<String>§provider: BridgeFiatCustomerResponseProvider§rejection_reasons: Vec<BridgeFiatRejectionReason>§status: OnrampKycStatusTrait Implementations§
Source§impl Clone for BridgeFiatCustomerResponse
impl Clone for BridgeFiatCustomerResponse
Source§fn clone(&self) -> BridgeFiatCustomerResponse
fn clone(&self) -> BridgeFiatCustomerResponse
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 BridgeFiatCustomerResponse
impl Debug for BridgeFiatCustomerResponse
Source§impl<'de> Deserialize<'de> for BridgeFiatCustomerResponse
impl<'de> Deserialize<'de> for BridgeFiatCustomerResponse
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<&BridgeFiatCustomerResponse> for BridgeFiatCustomerResponse
impl From<&BridgeFiatCustomerResponse> for BridgeFiatCustomerResponse
Source§fn from(value: &BridgeFiatCustomerResponse) -> Self
fn from(value: &BridgeFiatCustomerResponse) -> 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.
Auto Trait Implementations§
impl Freeze for BridgeFiatCustomerResponse
impl RefUnwindSafe for BridgeFiatCustomerResponse
impl Send for BridgeFiatCustomerResponse
impl Sync for BridgeFiatCustomerResponse
impl Unpin for BridgeFiatCustomerResponse
impl UnsafeUnpin for BridgeFiatCustomerResponse
impl UnwindSafe for BridgeFiatCustomerResponse
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