pub struct UpdateWebhook {
pub url: Option<String>,
pub events: Option<Vec<String>>,
pub is_active: Option<bool>,
}Expand description
Partial body for updating a webhook. is_active honours the wire name.
Fields§
§url: Option<String>New URL.
events: Option<Vec<String>>New event list.
is_active: Option<bool>New active state (serialized as is_active).
Implementations§
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 (const: unstable) · 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
Auto Trait Implementations§
impl Freeze for UpdateWebhook
impl RefUnwindSafe for UpdateWebhook
impl Send for UpdateWebhook
impl Sync for UpdateWebhook
impl Unpin for UpdateWebhook
impl UnsafeUnpin 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