pub struct HookCreateOptionsBuilder(_);

Implementations

a list of github events this hook should receive deliveries for the default is “push”. for a full list, see the Github api docs

web hooks must have an associated url

web hooks can optionally specify a content_type of “form” or “json” which indicates the type of payload they will expect to receive

web hooks can optionally provide a secret used to sign deliveries to identify that their source was indeed github

source

pub fn config_str_entry<K, V>(&mut self, k: K, v: V) -> &mut Selfwhere
    K: Into<String>,
    V: Into<String>,

source

pub fn config_entry<N>(&mut self, name: N, value: Value) -> &mut Selfwhere
    N: Into<String>,

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.