pub struct OnrampLimitUpgradeIdentityFields {
pub date_of_birth: Option<DateOfBirth>,
pub ssn_last4: Option<String>,
}Expand description
Populate the properties that correspond to the fields array from the user’s OnrampLimitUpgradeOption.
JSON schema
{
"description": "Populate the properties that correspond to the `fields` array from the user's `OnrampLimitUpgradeOption`.",
"examples": [
{
"dateOfBirth": {
"day": "15",
"month": "08",
"year": "1990"
},
"ssnLast4": "5678"
}
],
"type": "object",
"properties": {
"dateOfBirth": {
"description": "Date of birth.",
"allOf": [
{
"$ref": "#/components/schemas/DateOfBirth"
}
]
},
"ssnLast4": {
"description": "Last 4 digits of the Social Security Number (no dashes or spaces).",
"examples": [
"5678"
],
"type": "string"
}
}
}Fields§
§date_of_birth: Option<DateOfBirth>Date of birth.
ssn_last4: Option<String>Last 4 digits of the Social Security Number (no dashes or spaces).
Implementations§
Trait Implementations§
Source§impl Clone for OnrampLimitUpgradeIdentityFields
impl Clone for OnrampLimitUpgradeIdentityFields
Source§fn clone(&self) -> OnrampLimitUpgradeIdentityFields
fn clone(&self) -> OnrampLimitUpgradeIdentityFields
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 OnrampLimitUpgradeIdentityFields
impl<'de> Deserialize<'de> for OnrampLimitUpgradeIdentityFields
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<&OnrampLimitUpgradeIdentityFields> for OnrampLimitUpgradeIdentityFields
impl From<&OnrampLimitUpgradeIdentityFields> for OnrampLimitUpgradeIdentityFields
Source§fn from(value: &OnrampLimitUpgradeIdentityFields) -> Self
fn from(value: &OnrampLimitUpgradeIdentityFields) -> Self
Converts to this type from the input type.
Source§impl From<OnrampLimitUpgradeIdentityFields> for OnrampLimitUpgradeIdentityFields
impl From<OnrampLimitUpgradeIdentityFields> for OnrampLimitUpgradeIdentityFields
Source§fn from(value: OnrampLimitUpgradeIdentityFields) -> Self
fn from(value: OnrampLimitUpgradeIdentityFields) -> Self
Converts to this type from the input type.
Source§impl TryFrom<OnrampLimitUpgradeIdentityFields> for OnrampLimitUpgradeIdentityFields
impl TryFrom<OnrampLimitUpgradeIdentityFields> for OnrampLimitUpgradeIdentityFields
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: OnrampLimitUpgradeIdentityFields,
) -> Result<Self, ConversionError>
fn try_from( value: OnrampLimitUpgradeIdentityFields, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OnrampLimitUpgradeIdentityFields
impl RefUnwindSafe for OnrampLimitUpgradeIdentityFields
impl Send for OnrampLimitUpgradeIdentityFields
impl Sync for OnrampLimitUpgradeIdentityFields
impl Unpin for OnrampLimitUpgradeIdentityFields
impl UnsafeUnpin for OnrampLimitUpgradeIdentityFields
impl UnwindSafe for OnrampLimitUpgradeIdentityFields
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