pub enum GetStripeCryptoCustomerResponseData {
Active(StripeCryptoCustomerActive),
Expired(StripeCryptoCustomerExpired),
None(StripeCryptoCustomerNone),
}Expand description
GetStripeCryptoCustomerResponseData
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/StripeCryptoCustomerActive"
},
{
"$ref": "#/components/schemas/StripeCryptoCustomerExpired"
},
{
"$ref": "#/components/schemas/StripeCryptoCustomerNone"
}
]
}Variants§
Active(StripeCryptoCustomerActive)
Expired(StripeCryptoCustomerExpired)
None(StripeCryptoCustomerNone)
Trait Implementations§
Source§impl Clone for GetStripeCryptoCustomerResponseData
impl Clone for GetStripeCryptoCustomerResponseData
Source§fn clone(&self) -> GetStripeCryptoCustomerResponseData
fn clone(&self) -> GetStripeCryptoCustomerResponseData
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<'de> Deserialize<'de> for GetStripeCryptoCustomerResponseData
impl<'de> Deserialize<'de> for GetStripeCryptoCustomerResponseData
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<&GetStripeCryptoCustomerResponseData> for GetStripeCryptoCustomerResponseData
impl From<&GetStripeCryptoCustomerResponseData> for GetStripeCryptoCustomerResponseData
Source§fn from(value: &GetStripeCryptoCustomerResponseData) -> Self
fn from(value: &GetStripeCryptoCustomerResponseData) -> Self
Converts to this type from the input type.
Source§impl From<StripeCryptoCustomerActive> for GetStripeCryptoCustomerResponseData
impl From<StripeCryptoCustomerActive> for GetStripeCryptoCustomerResponseData
Source§fn from(value: StripeCryptoCustomerActive) -> Self
fn from(value: StripeCryptoCustomerActive) -> Self
Converts to this type from the input type.
Source§impl From<StripeCryptoCustomerExpired> for GetStripeCryptoCustomerResponseData
impl From<StripeCryptoCustomerExpired> for GetStripeCryptoCustomerResponseData
Source§fn from(value: StripeCryptoCustomerExpired) -> Self
fn from(value: StripeCryptoCustomerExpired) -> Self
Converts to this type from the input type.
Source§impl From<StripeCryptoCustomerNone> for GetStripeCryptoCustomerResponseData
impl From<StripeCryptoCustomerNone> for GetStripeCryptoCustomerResponseData
Source§fn from(value: StripeCryptoCustomerNone) -> Self
fn from(value: StripeCryptoCustomerNone) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetStripeCryptoCustomerResponseData
impl RefUnwindSafe for GetStripeCryptoCustomerResponseData
impl Send for GetStripeCryptoCustomerResponseData
impl Sync for GetStripeCryptoCustomerResponseData
impl Unpin for GetStripeCryptoCustomerResponseData
impl UnsafeUnpin for GetStripeCryptoCustomerResponseData
impl UnwindSafe for GetStripeCryptoCustomerResponseData
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