#[non_exhaustive]pub struct CreateWebhookInput {
pub app_id: Option<String>,
pub branch_name: Option<String>,
pub description: Option<String>,
}Expand description
The request structure for the create webhook request.
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.app_id: Option<String>The unique ID for an Amplify app.
branch_name: Option<String>The name for a branch that is part of an Amplify app.
description: Option<String>The description for a webhook.
Implementations§
source§impl CreateWebhookInput
impl CreateWebhookInput
sourcepub fn builder() -> CreateWebhookInputBuilder
pub fn builder() -> CreateWebhookInputBuilder
Creates a new builder-style object to manufacture CreateWebhookInput.
Trait Implementations§
source§impl Clone for CreateWebhookInput
impl Clone for CreateWebhookInput
source§fn clone(&self) -> CreateWebhookInput
fn clone(&self) -> CreateWebhookInput
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 CreateWebhookInput
impl Debug for CreateWebhookInput
source§impl PartialEq for CreateWebhookInput
impl PartialEq for CreateWebhookInput
source§fn eq(&self, other: &CreateWebhookInput) -> bool
fn eq(&self, other: &CreateWebhookInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateWebhookInput
Auto Trait Implementations§
impl Freeze for CreateWebhookInput
impl RefUnwindSafe for CreateWebhookInput
impl Send for CreateWebhookInput
impl Sync for CreateWebhookInput
impl Unpin for CreateWebhookInput
impl UnwindSafe for CreateWebhookInput
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
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>
Creates a shared type from an unshared type.