Struct gitlab::api::projects::hooks::EditHookBuilder[][src]

pub struct EditHookBuilder<'a> { /* fields omitted */ }
Expand description

Builder for EditHook.

Implementations

The project to edit a webhook within.

The ID of the hook to edit.

The URL for the webhook to contact.

Whether to send push events for this webhook or not.

Filter which branches send push events for this webhook.

Whether to send issue events for this webhook or not.

Whether to send confidential issue events for this webhook or not.

Whether to send merge request events for this webhook or not.

Whether to send tag events for this webhook or not.

Whether to send note (comment) events for this webhook or not.

Whether to send confidential note (comment) events for this webhook or not.

Whether to send job events for this webhook or not.

Whether to send pipeline events for this webhook or not.

Whether to send wiki page events for this webhook or not.

Whether to send deployment events for this webhook or not.

Whether to send release events for this webhook or not.

Whether to verify SSL/TLS certificates for the webhook endpoint or not.

A secret token to include in webhook deliveries.

This may be used to ensure that the webhook is actually coming from the GitLab instance.

Builds a new EditHook.

Errors

If a required field has not been initialized.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. 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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more