[][src]Struct stripe::Person

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 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>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>first_name: Option<String>first_name_kana: Option<String>first_name_kanji: Option<String>gender: Option<String>id_number_provided: Option<bool>last_name: Option<String>last_name_kana: Option<String>last_name_kanji: Option<String>maiden_name: Option<String>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>relationship: Option<PersonRelationship>requirements: Option<PersonRequirements>ssn_last_4_provided: Option<bool>verification: Option<PersonVerification>

Trait Implementations

impl Object for Person[src]

type Id = PersonId

The canonical id type for this object.

impl Clone for Person[src]

impl Debug for Person[src]

impl Serialize for Person[src]

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

Auto Trait Implementations

impl Unpin for Person

impl Sync for Person

impl Send for Person

impl UnwindSafe for Person

impl RefUnwindSafe for Person

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Same<T> for T

type Output = T

Should always be Self