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,
}
Expand description
Parameter for creating a new webhook
Fields§
§trigger_type: WebhookTriggerType
§url: String
§workspace_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§
Source§impl Debug for NewWebhook
impl Debug for NewWebhook
Auto Trait Implementations§
impl Freeze for NewWebhook
impl RefUnwindSafe for NewWebhook
impl Send for NewWebhook
impl Sync for NewWebhook
impl Unpin for NewWebhook
impl UnwindSafe for NewWebhook
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more