pub struct Individual {
pub email: Option<Email>,
pub first_name: Option<String>,
pub last_name: Option<String>,
}Expand description
Individual customer data returned on read — the individual object on
Get / Create / Update Customer responses. Only contact-identity fields are
echoed back; every other field accepted on the IndividualInput object
(address, ssnLast4, dateOfBirth, fullSsn, citizenship,
phoneNumber, and the CDD fields) is ingestion-only and never returned.
JSON schema
{
"description": "Individual customer data returned on read — the `individual` object on\nGet / Create / Update Customer responses. Only contact-identity fields are\nechoed back; every other field accepted on the `IndividualInput` object\n(`address`, `ssnLast4`, `dateOfBirth`, `fullSsn`, `citizenship`,\n`phoneNumber`, and the CDD fields) is ingestion-only and never returned.\n",
"examples": [
{
"email": "jane.doe@example.com",
"firstName": "Jane",
"lastName": "Doe"
}
],
"type": "object",
"properties": {
"email": {
"description": "Email address for the customer.",
"examples": [
"jane.doe@example.com"
],
"allOf": [
{
"$ref": "#/components/schemas/Email"
}
]
},
"firstName": {
"description": "First name (given name).",
"examples": [
"Jane"
],
"type": "string"
},
"lastName": {
"description": "Last name (family name/surname).",
"examples": [
"Doe"
],
"type": "string"
}
}
}Fields§
§email: Option<Email>Email address for the customer.
first_name: Option<String>First name (given name).
last_name: Option<String>Last name (family name/surname).
Implementations§
Source§impl Individual
impl Individual
pub fn builder() -> Individual
Trait Implementations§
Source§impl Clone for Individual
impl Clone for Individual
Source§impl Debug for Individual
impl Debug for Individual
Source§impl Default for Individual
impl Default for Individual
Source§impl<'de> Deserialize<'de> for Individual
impl<'de> Deserialize<'de> for Individual
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<&Individual> for Individual
impl From<&Individual> for Individual
Source§fn from(value: &Individual) -> Self
fn from(value: &Individual) -> Self
Converts to this type from the input type.
Source§impl From<Individual> for Individual
impl From<Individual> for Individual
Source§fn from(value: Individual) -> Self
fn from(value: Individual) -> Self
Converts to this type from the input type.
Source§impl Serialize for Individual
impl Serialize for Individual
Source§impl TryFrom<Individual> for Individual
impl TryFrom<Individual> for Individual
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: Individual) -> Result<Self, ConversionError>
fn try_from(value: Individual) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for Individual
impl RefUnwindSafe for Individual
impl Send for Individual
impl Sync for Individual
impl Unpin for Individual
impl UnsafeUnpin for Individual
impl UnwindSafe for Individual
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