Struct hubcaps::hooks::HookCreateOptions
[−]
[src]
pub struct HookCreateOptions { /* fields omitted */ }
options for creating a repository hook see this for githubs official documentation
Methods
impl HookCreateOptions
[src]
fn builder<N>(name: N) -> HookCreateOptionsBuilder where
N: Into<String>,
N: Into<String>,
creates a new builder instance with a hook name are should be taken with respect to the hook name as you can only use "web" or the a valid service name listed here
fn web() -> HookCreateOptionsBuilder
use this for creating a builder for webhook options