pub struct HookCreateOptions { /* private fields */ }Expand description
options for creating a repository hook see this for githubs official documentation
Implementations§
Source§impl HookCreateOptions
impl HookCreateOptions
Sourcepub fn builder<N>(name: N) -> HookCreateOptionsBuilder
pub fn builder<N>(name: N) -> HookCreateOptionsBuilder
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§
Source§impl Debug for HookCreateOptions
impl Debug for HookCreateOptions
Source§impl Default for HookCreateOptions
impl Default for HookCreateOptions
Source§fn default() -> HookCreateOptions
fn default() -> HookCreateOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HookCreateOptions
impl RefUnwindSafe for HookCreateOptions
impl Send for HookCreateOptions
impl Sync for HookCreateOptions
impl Unpin for HookCreateOptions
impl UnwindSafe for HookCreateOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more