Struct stripe::Person[][src]

pub struct Person {
    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<Dob>,
    pub email: Option<String>,
    pub first_name: Option<String>,
    pub first_name_kana: Option<String>,
    pub first_name_kanji: Option<String>,
    pub gender: Option<String>,
    pub id_number_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 phone: Option<String>,
    pub political_exposure: Option<PersonPoliticalExposure>,
    pub relationship: Option<PersonRelationship>,
    pub requirements: Option<PersonRequirements>,
    pub ssn_last_4_provided: Option<bool>,
    pub verification: Option<PersonVerification>,
}

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: booldob: Option<Dob>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).

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.

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.

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.

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

impl Clone for Person[src]

impl Debug for Person[src]

impl<'de> Deserialize<'de> for Person[src]

impl Object for Person[src]

type Id = PersonId

The canonical id type for this object.

impl Serialize for Person[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]