[][src]Struct stripe::TaxId

pub struct TaxId {
    pub id: TaxIdId,
    pub country: Option<String>,
    pub created: Option<Timestamp>,
    pub customer: Option<Expandable<Customer>>,
    pub deleted: bool,
    pub livemode: bool,
    pub type_: Option<TaxIdType>,
    pub value: Option<String>,
    pub verification: Option<TaxIdVerification>,
}

The resource representing a Stripe "tax_id".

Fields

id: TaxIdId

Unique identifier for the object.

country: Option<String>

Two-letter ISO code representing the country of the tax ID.

created: Option<Timestamp>

Time at which the object was created.

Measured in seconds since the Unix epoch.

customer: Option<Expandable<Customer>>

ID of the customer.

deleted: boollivemode: bool

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

type_: Option<TaxIdType>

Type of the tax ID, one of eu_vat, nz_gst, au_abn, or unknown.

value: Option<String>

Value of the tax ID.

verification: Option<TaxIdVerification>

Trait Implementations

impl Object for TaxId[src]

type Id = TaxIdId

The canonical id type for this object.

impl Clone for TaxId[src]

impl Debug for TaxId[src]

impl Serialize for TaxId[src]

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

Auto Trait Implementations

impl Unpin for TaxId

impl Sync for TaxId

impl Send for TaxId

impl UnwindSafe for TaxId

impl RefUnwindSafe for TaxId

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