#[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
impl StructuralPartialEq for PutWebhookInput
Auto Trait Implementations§
impl Freeze for PutWebhookInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more