Expand description
Interface for managing repository hooks
Implementations
sourceimpl<C: Clone + Connect + 'static> Hooks<C>
impl<C: Clone + Connect + 'static> Hooks<C>
sourcepub fn create(&self, options: &HookCreateOptions) -> Future<Hook>
pub fn create(&self, options: &HookCreateOptions) -> Future<Hook>
creates a new repository hook Repository service hooks (like email or Campfire) can have at most one configured at a time. Creating hooks for a service that already has one configured will update the existing hook. see github docs for more information
Auto Trait Implementations
impl<C> !RefUnwindSafe for Hooks<C>
impl<C> Send for Hooks<C>
impl<C> Sync for Hooks<C>
impl<C> Unpin for Hooks<C>
impl<C> !UnwindSafe for Hooks<C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more