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