Struct stripe::Person [−][src]
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<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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Object for Person
[src]
type Id = PersonId
The canonical id type for this object.
fn id(&self) -> Self::Id
[src]
fn object(&self) -> &'static str
[src]
impl Serialize for Person
[src]
Auto Trait Implementations
impl RefUnwindSafe for Person
[src]
impl Send for Person
[src]
impl Sync for Person
[src]
impl Unpin for Person
[src]
impl UnwindSafe for Person
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,