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

#[must_use]pub struct ProfileBuilder<TypedBuilderFields> { /* fields omitted */ }

Builder for Profile instances.

See Profile::builder() for more info.

Implementations

impl<__company_name, __created, __connection_id, __tax_type, __small_business> ProfileBuilder<((), __company_name, __created, __connection_id, __tax_type, __small_business)>[src]

pub fn organization_id(
    self,
    organization_id: Uuid
) -> ProfileBuilder<((Option<Uuid>,), __company_name, __created, __connection_id, __tax_type, __small_business)>
[src]

impl<__organization_id, __created, __connection_id, __tax_type, __small_business> ProfileBuilder<(__organization_id, (), __created, __connection_id, __tax_type, __small_business)>[src]

pub fn company_name(
    self,
    company_name: String
) -> ProfileBuilder<(__organization_id, (Option<String>,), __created, __connection_id, __tax_type, __small_business)>
[src]

impl<__organization_id, __company_name, __connection_id, __tax_type, __small_business> ProfileBuilder<(__organization_id, __company_name, (), __connection_id, __tax_type, __small_business)>[src]

pub fn created(
    self,
    created: Created
) -> ProfileBuilder<(__organization_id, __company_name, (Option<Created>,), __connection_id, __tax_type, __small_business)>
[src]

impl<__organization_id, __company_name, __created, __tax_type, __small_business> ProfileBuilder<(__organization_id, __company_name, __created, (), __tax_type, __small_business)>[src]

pub fn connection_id(
    self,
    connection_id: Uuid
) -> ProfileBuilder<(__organization_id, __company_name, __created, (Option<Uuid>,), __tax_type, __small_business)>
[src]

impl<__organization_id, __company_name, __created, __connection_id, __small_business> ProfileBuilder<(__organization_id, __company_name, __created, __connection_id, (), __small_business)>[src]

pub fn tax_type(
    self,
    tax_type: TaxType
) -> ProfileBuilder<(__organization_id, __company_name, __created, __connection_id, (Option<TaxType>,), __small_business)>
[src]

impl<__organization_id, __company_name, __created, __connection_id, __tax_type> ProfileBuilder<(__organization_id, __company_name, __created, __connection_id, __tax_type, ())>[src]

pub fn small_business(
    self,
    small_business: bool
) -> ProfileBuilder<(__organization_id, __company_name, __created, __connection_id, __tax_type, (Option<bool>,))>
[src]

impl<__organization_id: ProfileBuilder_Optional<Option<Uuid>>, __company_name: ProfileBuilder_Optional<Option<String>>, __created: ProfileBuilder_Optional<Option<Created>>, __connection_id: ProfileBuilder_Optional<Option<Uuid>>, __tax_type: ProfileBuilder_Optional<Option<TaxType>>, __small_business: ProfileBuilder_Optional<Option<bool>>> ProfileBuilder<(__organization_id, __company_name, __created, __connection_id, __tax_type, __small_business)>[src]

pub fn build(self) -> Profile[src]

Finalise the builder and create its Profile instance

Trait Implementations

impl<TypedBuilderFields> Clone for ProfileBuilder<TypedBuilderFields> where
    TypedBuilderFields: Clone
[src]

Auto Trait Implementations

impl<TypedBuilderFields> RefUnwindSafe for ProfileBuilder<TypedBuilderFields> where
    TypedBuilderFields: RefUnwindSafe

impl<TypedBuilderFields> Send for ProfileBuilder<TypedBuilderFields> where
    TypedBuilderFields: Send

impl<TypedBuilderFields> Sync for ProfileBuilder<TypedBuilderFields> where
    TypedBuilderFields: Sync

impl<TypedBuilderFields> Unpin for ProfileBuilder<TypedBuilderFields> where
    TypedBuilderFields: Unpin

impl<TypedBuilderFields> UnwindSafe for ProfileBuilder<TypedBuilderFields> where
    TypedBuilderFields: UnwindSafe

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