Struct zenkit::types::NewWebhook[][src]

pub struct NewWebhook {
    pub trigger_type: WebhookTriggerType,
    pub url: String,
    pub workspace_id: Option<ID>,
    pub list_id: Option<ID>,
    pub list_entry_id: Option<ID>,
    pub element_id: Option<ID>,
    pub locale: String,
}

Parameter for creating a new webhook

Fields

trigger_type: WebhookTriggerTypeurl: Stringworkspace_id: Option<ID>

restrict webhook to this workspace

list_id: Option<ID>

restrict webhook to this list

list_entry_id: Option<ID>

restrict webhook to this item

element_id: Option<ID>locale: String

Trait Implementations

impl Debug for NewWebhook[src]

impl Serialize for NewWebhook[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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.