pub struct Person {Show 30 fields
pub id: PersonId,
pub account: Option<String>,
pub address: Option<Address>,
pub address_kana: Option<Address>,
pub address_kanji: Option<Address>,
pub created: Option<Timestamp>,
pub deleted: bool,
pub dob: Option<LegalEntityDob>,
pub email: Option<String>,
pub first_name: Option<String>,
pub first_name_kana: Option<String>,
pub first_name_kanji: Option<String>,
pub full_name_aliases: Option<Vec<String>>,
pub future_requirements: Option<PersonFutureRequirements>,
pub gender: Option<String>,
pub id_number_provided: Option<bool>,
pub id_number_secondary_provided: Option<bool>,
pub last_name: Option<String>,
pub last_name_kana: Option<String>,
pub last_name_kanji: Option<String>,
pub maiden_name: Option<String>,
pub metadata: Metadata,
pub nationality: Option<String>,
pub phone: Option<String>,
pub political_exposure: Option<PersonPoliticalExposure>,
pub registered_address: Option<Address>,
pub relationship: Option<PersonRelationship>,
pub requirements: Option<PersonRequirements>,
pub ssn_last_4_provided: Option<bool>,
pub verification: Option<PersonVerification>,
}
Expand description
The resource representing a Stripe “Person”.
For more details see https://stripe.com/docs/api/persons/object
Fields
id: PersonId
Unique identifier for the object.
account: Option<String>
The account the person is associated with.
address: Option<Address>
address_kana: Option<Address>
address_kanji: Option<Address>
created: Option<Timestamp>
Time at which the object was created.
Measured in seconds since the Unix epoch.
deleted: bool
dob: Option<LegalEntityDob>
email: Option<String>
The person’s email address.
first_name: Option<String>
The person’s first name.
first_name_kana: Option<String>
The Kana variation of the person’s first name (Japan only).
first_name_kanji: Option<String>
The Kanji variation of the person’s first name (Japan only).
full_name_aliases: Option<Vec<String>>
A list of alternate names or aliases that the person is known by.
future_requirements: Option<PersonFutureRequirements>
gender: Option<String>
The person’s gender (International regulations require either “male” or “female”).
id_number_provided: Option<bool>
Whether the person’s id_number
was provided.
id_number_secondary_provided: Option<bool>
Whether the person’s id_number_secondary
was provided.
last_name: Option<String>
The person’s last name.
last_name_kana: Option<String>
The Kana variation of the person’s last name (Japan only).
last_name_kanji: Option<String>
The Kanji variation of the person’s last name (Japan only).
maiden_name: Option<String>
The person’s maiden name.
metadata: Metadata
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
nationality: Option<String>
The country where the person is a national.
phone: Option<String>
The person’s phone number.
political_exposure: Option<PersonPoliticalExposure>
Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
registered_address: Option<Address>
relationship: Option<PersonRelationship>
requirements: Option<PersonRequirements>
ssn_last_4_provided: Option<bool>
Whether the last four digits of the person’s Social Security number have been provided (U.S.
only).
verification: Option<PersonVerification>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Person
impl<'de> Deserialize<'de> for Person
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for Person
impl Send for Person
impl Sync for Person
impl Unpin for Person
impl UnwindSafe for Person
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more