Struct hubcaps::hooks::HookCreateOptions
source · pub struct HookCreateOptions { /* private fields */ }
Expand description
options for creating a repository hook see this for githubs official documentation
Implementations
sourceimpl HookCreateOptions
impl HookCreateOptions
sourcepub fn builder<N>(name: N) -> HookCreateOptionsBuilderwhere
N: Into<String>,
pub fn builder<N>(name: N) -> HookCreateOptionsBuilderwhere
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
sourcepub fn web() -> HookCreateOptionsBuilder
pub fn web() -> HookCreateOptionsBuilder
use this for creating a builder for webhook options
Trait Implementations
sourceimpl Debug for HookCreateOptions
impl Debug for HookCreateOptions
sourceimpl Default for HookCreateOptions
impl Default for HookCreateOptions
sourcefn default() -> HookCreateOptions
fn default() -> HookCreateOptions
Returns the “default value” for a type. Read more
sourceimpl Serialize for HookCreateOptions
impl Serialize for HookCreateOptions
Auto Trait Implementations
impl RefUnwindSafe for HookCreateOptions
impl Send for HookCreateOptions
impl Sync for HookCreateOptions
impl Unpin for HookCreateOptions
impl UnwindSafe for HookCreateOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more