pub struct HookCreateOptions { /* private fields */ }
Expand description

options for creating a repository hook see this for githubs official documentation

Implementations

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

use this for creating a builder for webhook options

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Serialize this value into the given Serde serializer. Read more

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.