pub struct UpdateWebhook {
pub event_types: Vec<String>,
pub add_inbox_ids: Vec<String>,
pub remove_inbox_ids: Vec<String>,
pub add_pod_ids: Vec<String>,
pub remove_pod_ids: Vec<String>,
}Expand description
Request body for Client::update_webhook. Every field is optional; leave
a field empty to keep it unchanged. Inbox and pod targeting is edited by
delta (add/remove lists) rather than by replacing the whole set.
Fields§
§event_types: Vec<String>Replace the subscribed event types.
add_inbox_ids: Vec<String>Inboxes to add to the subscription.
remove_inbox_ids: Vec<String>Inboxes to remove from the subscription.
add_pod_ids: Vec<String>Pods to add to the subscription.
remove_pod_ids: Vec<String>Pods to remove from the subscription.
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