[][src]Struct heroku_rs::endpoints::account::InvoiceAddress

pub struct InvoiceAddress {
    pub address_1: Option<String>,
    pub address_2: Option<String>,
    pub city: Option<String>,
    pub country: Option<String>,
    pub heroku_id: String,
    pub other: Option<String>,
    pub postal_code: Option<String>,
    pub state: Option<String>,
    pub use_invoice_address: bool,
}

Invoice Address

Stability: development

An invoice address represents the address that should be listed on an invoice.

See Heroku documentation for more information about this endpoint

Fields

address_1: Option<String>

invoice street address line 1

address_2: Option<String>

invoice street address line 2

city: Option<String>

invoice city

country: Option<String>

country

heroku_id: String

heroku_id identifier reference

other: Option<String>

metadata / additional information to go on invoice

postal_code: Option<String>

invoice zip code

state: Option<String>

invoice state

use_invoice_address: bool

flag to use the invoice address for an account or not

Trait Implementations

impl ApiResult for InvoiceAddress[src]

impl Clone for InvoiceAddress[src]

impl Debug for InvoiceAddress[src]

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

impl HerokuEndpoint<InvoiceAddress, (), ()> for InvoiceAddressDetails[src]

impl<'a> HerokuEndpoint<InvoiceAddress, (), InvoiceAddressUpdateParams<'a>> for InvoiceAddressUpdate<'a>[src]

impl Serialize for InvoiceAddress[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, U> Into<U> for T where
    U: From<T>, 
[src]

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.