Struct lexoffice::model::event_subscriptions::EventSubscriptionBuilder[][src]

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

Builder for EventSubscription instances.

See EventSubscription::builder() for more info.

Implementations

impl<__callback_url> EventSubscriptionBuilder<((), __callback_url)>[src]

pub fn event_type(
    self,
    event_type: impl Into<EventType>
) -> EventSubscriptionBuilder<((EventType,), __callback_url)>
[src]

impl<__event_type> EventSubscriptionBuilder<(__event_type, ())>[src]

pub fn callback_url(
    self,
    callback_url: impl Into<String>
) -> EventSubscriptionBuilder<(__event_type, (String,))>
[src]

impl EventSubscriptionBuilder<((EventType,), (String,))>[src]

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

Finalise the builder and create its EventSubscription instance

Trait Implementations

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

Auto Trait Implementations

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

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

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

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

impl<TypedBuilderFields> UnwindSafe for EventSubscriptionBuilder<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.