#[non_exhaustive]pub struct PutWebhookInput {
pub webhook: Option<WebhookDefinition>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
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
Returns a copy 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 PutWebhookInput
impl Debug for PutWebhookInput
source§impl PartialEq<PutWebhookInput> for PutWebhookInput
impl PartialEq<PutWebhookInput> for PutWebhookInput
source§fn eq(&self, other: &PutWebhookInput) -> bool
fn eq(&self, other: &PutWebhookInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutWebhookInput
Auto Trait Implementations§
impl RefUnwindSafe for PutWebhookInput
impl Send for PutWebhookInput
impl Sync for PutWebhookInput
impl Unpin for PutWebhookInput
impl UnwindSafe for PutWebhookInput
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