Struct lexoffice::model::profile::Profile[][src]

pub struct Profile {
    pub organization_id: Option<Uuid>,
    pub company_name: Option<String>,
    pub created: Option<Created>,
    pub connection_id: Option<Uuid>,
    pub tax_type: Option<TaxType>,
    pub small_business: Option<bool>,
}

Fields

organization_id: Option<Uuid>

Unique id of your company.

company_name: Option<String>

Name of your company registered at lexoffice.

created: Option<Created>

Information about the established connection to lexoffice. For specification of object created please see below.

connection_id: Option<Uuid>

The id of the current API connection.

tax_type: Option<TaxType>

Configured tax type. Possible values are net, gross, and vatfree.

small_business: Option<bool>

Reflects whether the organization is marked as a “small business” (Kleinunternehmer according to §19 UStG.)

Implementations

impl Profile[src]

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

Create a builder for building Profile. On the builder, call .organization_id(...)(optional), .company_name(...)(optional), .created(...)(optional), .connection_id(...)(optional), .tax_type(...)(optional), .small_business(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of Profile.

Trait Implementations

impl Clone for Profile[src]

impl Debug for Profile[src]

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

impl PartialEq<Profile> for Profile[src]

impl Serialize for Profile[src]

impl StructuralPartialEq for Profile[src]

Auto Trait Implementations

impl RefUnwindSafe for Profile

impl Send for Profile

impl Sync for Profile

impl Unpin for Profile

impl UnwindSafe for Profile

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.