pub struct UpdateWebhookRequest {
pub url: Option<String>,
pub events: Option<Vec<String>>,
pub is_active: Option<bool>,
pub mode: Option<WebhookMode>,
}Expand description
Request to update a webhook.
Fields§
§url: Option<String>New URL to receive webhook events.
events: Option<Vec<String>>New list of event types to subscribe to.
is_active: Option<bool>Whether the webhook is active.
mode: Option<WebhookMode>Event mode filter (all, test, live).
Trait Implementations§
Source§impl Clone for UpdateWebhookRequest
impl Clone for UpdateWebhookRequest
Source§fn clone(&self) -> UpdateWebhookRequest
fn clone(&self) -> UpdateWebhookRequest
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 UpdateWebhookRequest
impl Debug for UpdateWebhookRequest
Source§impl Default for UpdateWebhookRequest
impl Default for UpdateWebhookRequest
Source§fn default() -> UpdateWebhookRequest
fn default() -> UpdateWebhookRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateWebhookRequest
impl RefUnwindSafe for UpdateWebhookRequest
impl Send for UpdateWebhookRequest
impl Sync for UpdateWebhookRequest
impl Unpin for UpdateWebhookRequest
impl UnwindSafe for UpdateWebhookRequest
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