pub struct Webhook {
pub id: u64,
pub name: String,
pub active: bool,
pub events: Vec<String>,
pub config: WebhookConfig,
}Expand description
A repository webhook as GitHub reports it.
Fields§
§id: u64The id GitHub gave the webhook.
name: StringThe hook type. Only web hooks are managed.
active: boolWhether GitHub delivers events.
events: Vec<String>The events that trigger a delivery.
config: WebhookConfigThe delivery settings.
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.