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>,
[src]
N: Into<String>,
creates a new builder instance with a hook name care should be taken with respect to the hook name as you can only use "web" or a valid service name listed here
fn web() -> HookCreateOptionsBuilder
[src]
use this for creating a builder for webhook options
Trait Implementations
impl Debug for HookCreateOptions
[src]
impl Default for HookCreateOptions
[src]
fn default() -> HookCreateOptions
[src]
Returns the "default value" for a type. Read more