pub struct Webhook {
pub content_type: WebhookContentType,
pub insecure_ssl: bool,
pub events: Vec<String>,
pub active: bool,
}Expand description
A repository webhook. The delivery URL is its key.
Fields§
§content_type: WebhookContentTypeThe body format of a delivery.
insecure_ssl: boolWhether GitHub skips TLS certificate checks on delivery.
events: Vec<String>The events that trigger a delivery.
active: boolWhether GitHub delivers events.
Trait Implementations§
impl Eq for Webhook
impl StructuralPartialEq for Webhook
Auto Trait Implementations§
impl Freeze for Webhook
impl RefUnwindSafe for Webhook
impl Send for Webhook
impl Sync for Webhook
impl Unpin for Webhook
impl UnsafeUnpin for Webhook
impl UnwindSafe for Webhook
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.