pub struct UpdateWebhookRequestBuilder { /* private fields */ }Expand description
Builder for UpdateWebhookRequest.
Implementations§
Source§impl UpdateWebhookRequestBuilder
impl UpdateWebhookRequestBuilder
Sourcepub fn description(self, description: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
Set webhook description.
Sourcepub fn webhook_url(self, url: impl Into<String>) -> Self
pub fn webhook_url(self, url: impl Into<String>) -> Self
Set webhook URL.
Sourcepub fn trigger_types(self, triggers: Vec<WebhookTrigger>) -> Self
pub fn trigger_types(self, triggers: Vec<WebhookTrigger>) -> Self
Set trigger types.
Sourcepub fn webhook_secret(self, secret: impl Into<String>) -> Self
pub fn webhook_secret(self, secret: impl Into<String>) -> Self
Set webhook secret.
Sourcepub fn notification_email_addresses(self, emails: Vec<String>) -> Self
pub fn notification_email_addresses(self, emails: Vec<String>) -> Self
Set notification email addresses.
Sourcepub fn build(self) -> UpdateWebhookRequest
pub fn build(self) -> UpdateWebhookRequest
Build the UpdateWebhookRequest.
Trait Implementations§
Source§impl Clone for UpdateWebhookRequestBuilder
impl Clone for UpdateWebhookRequestBuilder
Source§fn clone(&self) -> UpdateWebhookRequestBuilder
fn clone(&self) -> UpdateWebhookRequestBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateWebhookRequestBuilder
impl Debug for UpdateWebhookRequestBuilder
Source§impl Default for UpdateWebhookRequestBuilder
impl Default for UpdateWebhookRequestBuilder
Source§fn default() -> UpdateWebhookRequestBuilder
fn default() -> UpdateWebhookRequestBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateWebhookRequestBuilder
impl RefUnwindSafe for UpdateWebhookRequestBuilder
impl Send for UpdateWebhookRequestBuilder
impl Sync for UpdateWebhookRequestBuilder
impl Unpin for UpdateWebhookRequestBuilder
impl UnwindSafe for UpdateWebhookRequestBuilder
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