Struct lexoffice::model::countries::Country[][src]

pub struct Country {
    pub country_code: CountryCode,
    pub country_name_en: String,
    pub country_name_de: String,
    pub tax_classification: TaxClassification,
}

Fields

country_code: CountryCode

The country’s code. See our FAQ for specification.

country_name_en: String

Country name (English)

country_name_de: String

Country name (German translation)

tax_classification: TaxClassification

Tax classification. Possible values are de (Germany), intraCommunity (eligible for Innergemeinschaftliche Lieferung), and thirdPartyCountry (other). See below

Implementations

impl Country[src]

pub fn builder() -> CountryBuilder<((), (), (), ())>[src]

Create a builder for building Country. On the builder, call .country_code(...), .country_name_en(...), .country_name_de(...), .tax_classification(...) to set the values of the fields. Finally, call .build() to create the instance of Country.

Trait Implementations

impl Clone for Country[src]

impl Debug for Country[src]

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

impl PartialEq<Country> for Country[src]

impl Serialize for Country[src]

impl StructuralPartialEq for Country[src]

Auto Trait Implementations

impl RefUnwindSafe for Country

impl Send for Country

impl Sync for Country

impl Unpin for Country

impl UnwindSafe for Country

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, 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.

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