#[non_exhaustive]pub struct GetWebhookOutputBuilder { /* private fields */ }Expand description
A builder for GetWebhookOutput.
Implementations§
source§impl GetWebhookOutputBuilder
impl GetWebhookOutputBuilder
sourcepub fn set_webhook(self, input: Option<Webhook>) -> Self
pub fn set_webhook(self, input: Option<Webhook>) -> Self
Describes the structure of a webhook.
sourcepub fn get_webhook(&self) -> &Option<Webhook>
pub fn get_webhook(&self) -> &Option<Webhook>
Describes the structure of a webhook.
sourcepub fn build(self) -> GetWebhookOutput
pub fn build(self) -> GetWebhookOutput
Consumes the builder and constructs a GetWebhookOutput.
Trait Implementations§
source§impl Clone for GetWebhookOutputBuilder
impl Clone for GetWebhookOutputBuilder
source§fn clone(&self) -> GetWebhookOutputBuilder
fn clone(&self) -> GetWebhookOutputBuilder
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 GetWebhookOutputBuilder
impl Debug for GetWebhookOutputBuilder
source§impl Default for GetWebhookOutputBuilder
impl Default for GetWebhookOutputBuilder
source§fn default() -> GetWebhookOutputBuilder
fn default() -> GetWebhookOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetWebhookOutputBuilder> for GetWebhookOutputBuilder
impl PartialEq<GetWebhookOutputBuilder> for GetWebhookOutputBuilder
source§fn eq(&self, other: &GetWebhookOutputBuilder) -> bool
fn eq(&self, other: &GetWebhookOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetWebhookOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetWebhookOutputBuilder
impl Send for GetWebhookOutputBuilder
impl Sync for GetWebhookOutputBuilder
impl Unpin for GetWebhookOutputBuilder
impl UnwindSafe for GetWebhookOutputBuilder
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