pub struct Webhooks {
pub mode: Mode,
pub webhooks: BTreeMap<String, Webhook>,
}Expand description
Desired webhooks of a repository.
Fields§
§mode: ModeWhether webhooks that are not declared are deleted.
webhooks: BTreeMap<String, Webhook>The webhooks keyed by delivery URL.
Trait Implementations§
impl Eq for Webhooks
impl StructuralPartialEq for Webhooks
Auto Trait Implementations§
impl Freeze for Webhooks
impl RefUnwindSafe for Webhooks
impl Send for Webhooks
impl Sync for Webhooks
impl Unpin for Webhooks
impl UnsafeUnpin for Webhooks
impl UnwindSafe for Webhooks
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.