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]
pub 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
pub fn web() -> HookCreateOptionsBuilder
[src]
use this for creating a builder for webhook options
Trait Implementations
impl Debug for HookCreateOptions
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for HookCreateOptions
[src]
fn default() -> HookCreateOptions
[src]
Returns the "default value" for a type. Read more