Struct hubcaps::hooks::Hooks

source ·
pub struct Hooks<C>where
    C: Clone + Connect + 'static,
{ /* private fields */ }
Expand description

Interface for managing repository hooks

Implementations

lists hook associated with a repository

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

edits an existing repository hook

deletes a repository hook by id

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.