#[non_exhaustive]pub struct PutWebhookInput {
pub webhook: Option<WebhookDefinition>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.webhook: Option<WebhookDefinition>
The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name. Give the webhook a unique name that helps you identify it. You might name the webhook after the pipeline and action it targets so that you can easily recognize what it's used for later.
The tags for the webhook.
Implementations§
source§impl PutWebhookInput
impl PutWebhookInput
sourcepub fn webhook(&self) -> Option<&WebhookDefinition>
pub fn webhook(&self) -> Option<&WebhookDefinition>
The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name. Give the webhook a unique name that helps you identify it. You might name the webhook after the pipeline and action it targets so that you can easily recognize what it's used for later.
The tags for the webhook.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl PutWebhookInput
impl PutWebhookInput
sourcepub fn builder() -> PutWebhookInputBuilder
pub fn builder() -> PutWebhookInputBuilder
Creates a new builder-style object to manufacture PutWebhookInput
.
Trait Implementations§
source§impl Clone for PutWebhookInput
impl Clone for PutWebhookInput
source§fn clone(&self) -> PutWebhookInput
fn clone(&self) -> PutWebhookInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutWebhookInput
impl Debug for PutWebhookInput
source§impl PartialEq for PutWebhookInput
impl PartialEq for PutWebhookInput
source§fn eq(&self, other: &PutWebhookInput) -> bool
fn eq(&self, other: &PutWebhookInput) -> bool
self
and other
values to be equal, and is used
by ==
.