pub struct EditHookBuilder<'a> { /* private fields */ }
Expand description
Builder for EditHook
.
Implementations§
source§impl<'a> EditHookBuilder<'a>
impl<'a> EditHookBuilder<'a>
sourcepub fn group<VALUE: Into<NameOrId<'a>>>(&mut self, value: VALUE) -> &mut Self
pub fn group<VALUE: Into<NameOrId<'a>>>(&mut self, value: VALUE) -> &mut Self
The group to edit a webhook within.
sourcepub fn url<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn url<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
The URL for the webhook to contact.
sourcepub fn push_events(&mut self, value: bool) -> &mut Self
pub fn push_events(&mut self, value: bool) -> &mut Self
Whether to send push events for this webhook or not.
sourcepub fn push_events_branch_filter<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn push_events_branch_filter<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE ) -> &mut Self
Filter which branches send push events for this webhook.
sourcepub fn issues_events(&mut self, value: bool) -> &mut Self
pub fn issues_events(&mut self, value: bool) -> &mut Self
Whether to send issue events for this webhook or not.
sourcepub fn confidential_issues_events(&mut self, value: bool) -> &mut Self
pub fn confidential_issues_events(&mut self, value: bool) -> &mut Self
Whether to send confidential issue events for this webhook or not.
sourcepub fn merge_requests_events(&mut self, value: bool) -> &mut Self
pub fn merge_requests_events(&mut self, value: bool) -> &mut Self
Whether to send merge request events for this webhook or not.
sourcepub fn tag_push_events(&mut self, value: bool) -> &mut Self
pub fn tag_push_events(&mut self, value: bool) -> &mut Self
Whether to send tag events for this webhook or not.
sourcepub fn note_events(&mut self, value: bool) -> &mut Self
pub fn note_events(&mut self, value: bool) -> &mut Self
Whether to send note (comment) events for this webhook or not.
sourcepub fn confidential_note_events(&mut self, value: bool) -> &mut Self
pub fn confidential_note_events(&mut self, value: bool) -> &mut Self
Whether to send confidential note (comment) events for this webhook or not.
sourcepub fn job_events(&mut self, value: bool) -> &mut Self
pub fn job_events(&mut self, value: bool) -> &mut Self
Whether to send job events for this webhook or not.
sourcepub fn pipeline_events(&mut self, value: bool) -> &mut Self
pub fn pipeline_events(&mut self, value: bool) -> &mut Self
Whether to send pipeline events for this webhook or not.
sourcepub fn wiki_page_events(&mut self, value: bool) -> &mut Self
pub fn wiki_page_events(&mut self, value: bool) -> &mut Self
Whether to send wiki page events for this webhook or not.
sourcepub fn deployment_events(&mut self, value: bool) -> &mut Self
pub fn deployment_events(&mut self, value: bool) -> &mut Self
Whether to send deployment events for this webhook or not.
sourcepub fn releases_events(&mut self, value: bool) -> &mut Self
pub fn releases_events(&mut self, value: bool) -> &mut Self
Whether to send release events for this webhook or not.
sourcepub fn subgroup_events(&mut self, value: bool) -> &mut Self
pub fn subgroup_events(&mut self, value: bool) -> &mut Self
Whether to send subgroup events for this webhook or not.
sourcepub fn enable_ssl_verification(&mut self, value: bool) -> &mut Self
pub fn enable_ssl_verification(&mut self, value: bool) -> &mut Self
Whether to verify SSL/TLS certificates for the webhook endpoint or not.
sourcepub fn service_access_tokens_expiration_enforced(
&mut self,
value: bool
) -> &mut Self
pub fn service_access_tokens_expiration_enforced( &mut self, value: bool ) -> &mut Self
Require service account access tokens to have an expiration date.
Trait Implementations§
source§impl<'a> Clone for EditHookBuilder<'a>
impl<'a> Clone for EditHookBuilder<'a>
source§fn clone(&self) -> EditHookBuilder<'a>
fn clone(&self) -> EditHookBuilder<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more