#[non_exhaustive]pub struct DescribeAttackOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeAttackOutput
.
Implementations§
source§impl DescribeAttackOutputBuilder
impl DescribeAttackOutputBuilder
sourcepub fn attack(self, input: AttackDetail) -> Self
pub fn attack(self, input: AttackDetail) -> Self
The attack that you requested.
sourcepub fn set_attack(self, input: Option<AttackDetail>) -> Self
pub fn set_attack(self, input: Option<AttackDetail>) -> Self
The attack that you requested.
sourcepub fn get_attack(&self) -> &Option<AttackDetail>
pub fn get_attack(&self) -> &Option<AttackDetail>
The attack that you requested.
sourcepub fn build(self) -> DescribeAttackOutput
pub fn build(self) -> DescribeAttackOutput
Consumes the builder and constructs a DescribeAttackOutput
.
Trait Implementations§
source§impl Clone for DescribeAttackOutputBuilder
impl Clone for DescribeAttackOutputBuilder
source§fn clone(&self) -> DescribeAttackOutputBuilder
fn clone(&self) -> DescribeAttackOutputBuilder
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 DescribeAttackOutputBuilder
impl Debug for DescribeAttackOutputBuilder
source§impl Default for DescribeAttackOutputBuilder
impl Default for DescribeAttackOutputBuilder
source§fn default() -> DescribeAttackOutputBuilder
fn default() -> DescribeAttackOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeAttackOutputBuilder
impl PartialEq for DescribeAttackOutputBuilder
source§fn eq(&self, other: &DescribeAttackOutputBuilder) -> bool
fn eq(&self, other: &DescribeAttackOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeAttackOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeAttackOutputBuilder
impl RefUnwindSafe for DescribeAttackOutputBuilder
impl Send for DescribeAttackOutputBuilder
impl Sync for DescribeAttackOutputBuilder
impl Unpin for DescribeAttackOutputBuilder
impl UnwindSafe for DescribeAttackOutputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.