pub struct WebhookPatch {
pub config: Option<WebhookConfigBody>,
pub events: Vec<String>,
pub active: bool,
}Expand description
The body that updates a webhook.
Fields§
§config: Option<WebhookConfigBody>The delivery settings. Left out when they do not change, because GitHub removes a secret that a config update does not resend.
events: Vec<String>The events that trigger a delivery.
active: boolWhether GitHub delivers events.
Trait Implementations§
Source§impl Clone for WebhookPatch
impl Clone for WebhookPatch
Source§fn clone(&self) -> WebhookPatch
fn clone(&self) -> WebhookPatch
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 WebhookPatch
impl Debug for WebhookPatch
impl Eq for WebhookPatch
Source§impl<'ʄ> Facet<'ʄ> for WebhookPatch
impl<'ʄ> Facet<'ʄ> for WebhookPatch
Source§impl PartialEq for WebhookPatch
impl PartialEq for WebhookPatch
impl StructuralPartialEq for WebhookPatch
Auto Trait Implementations§
impl Freeze for WebhookPatch
impl RefUnwindSafe for WebhookPatch
impl Send for WebhookPatch
impl Sync for WebhookPatch
impl Unpin for WebhookPatch
impl UnsafeUnpin for WebhookPatch
impl UnwindSafe for WebhookPatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.