pub struct UpdateWebhook {
pub url: Option<String>,
pub description: Option<String>,
pub events: Option<Vec<Events>>,
}Fields§
§url: Option<String>URL of the webhook
description: Option<String>Description of the webhook
events: Option<Vec<Events>>Events triggering the webhook. Possible values for Transactional type webhook – sent OR request, delivered, hardBounce, softBounce, blocked, spam, invalid, deferred, click, opened, uniqueOpened and unsubscribed and possible values for Marketing type webhook – spam, opened, click, hardBounce, softBounce, unsubscribed, listAddition and delivered
Implementations§
Source§impl UpdateWebhook
impl UpdateWebhook
pub fn new() -> UpdateWebhook
Trait Implementations§
Source§impl Clone for UpdateWebhook
impl Clone for UpdateWebhook
Source§fn clone(&self) -> UpdateWebhook
fn clone(&self) -> UpdateWebhook
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateWebhook
impl Debug for UpdateWebhook
Source§impl Default for UpdateWebhook
impl Default for UpdateWebhook
Source§fn default() -> UpdateWebhook
fn default() -> UpdateWebhook
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateWebhook
impl<'de> Deserialize<'de> for UpdateWebhook
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UpdateWebhook
impl PartialEq for UpdateWebhook
Source§impl Serialize for UpdateWebhook
impl Serialize for UpdateWebhook
impl StructuralPartialEq for UpdateWebhook
Auto Trait Implementations§
impl Freeze for UpdateWebhook
impl RefUnwindSafe for UpdateWebhook
impl Send for UpdateWebhook
impl Sync for UpdateWebhook
impl Unpin for UpdateWebhook
impl UnwindSafe for UpdateWebhook
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