Struct hubcaps::hooks::Hooks[][src]

pub struct Hooks<C> where
    C: Clone + Connect
{ /* fields omitted */ }

Interface for managing repository hooks

Methods

impl<C: Clone + Connect> Hooks<C>
[src]

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

impl<C> !Send for Hooks<C>

impl<C> !Sync for Hooks<C>