#[non_exhaustive]pub struct AttachmentEnaSrdSpecificationBuilder { /* private fields */ }
Expand description
A builder for AttachmentEnaSrdSpecification
.
Implementations§
source§impl AttachmentEnaSrdSpecificationBuilder
impl AttachmentEnaSrdSpecificationBuilder
sourcepub fn ena_srd_enabled(self, input: bool) -> Self
pub fn ena_srd_enabled(self, input: bool) -> Self
Indicates whether ENA Express is enabled for the network interface.
sourcepub fn set_ena_srd_enabled(self, input: Option<bool>) -> Self
pub fn set_ena_srd_enabled(self, input: Option<bool>) -> Self
Indicates whether ENA Express is enabled for the network interface.
sourcepub fn get_ena_srd_enabled(&self) -> &Option<bool>
pub fn get_ena_srd_enabled(&self) -> &Option<bool>
Indicates whether ENA Express is enabled for the network interface.
sourcepub fn ena_srd_udp_specification(
self,
input: AttachmentEnaSrdUdpSpecification,
) -> Self
pub fn ena_srd_udp_specification( self, input: AttachmentEnaSrdUdpSpecification, ) -> Self
Configures ENA Express for UDP network traffic.
sourcepub fn set_ena_srd_udp_specification(
self,
input: Option<AttachmentEnaSrdUdpSpecification>,
) -> Self
pub fn set_ena_srd_udp_specification( self, input: Option<AttachmentEnaSrdUdpSpecification>, ) -> Self
Configures ENA Express for UDP network traffic.
sourcepub fn get_ena_srd_udp_specification(
&self,
) -> &Option<AttachmentEnaSrdUdpSpecification>
pub fn get_ena_srd_udp_specification( &self, ) -> &Option<AttachmentEnaSrdUdpSpecification>
Configures ENA Express for UDP network traffic.
sourcepub fn build(self) -> AttachmentEnaSrdSpecification
pub fn build(self) -> AttachmentEnaSrdSpecification
Consumes the builder and constructs a AttachmentEnaSrdSpecification
.
Trait Implementations§
source§impl Clone for AttachmentEnaSrdSpecificationBuilder
impl Clone for AttachmentEnaSrdSpecificationBuilder
source§fn clone(&self) -> AttachmentEnaSrdSpecificationBuilder
fn clone(&self) -> AttachmentEnaSrdSpecificationBuilder
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 Default for AttachmentEnaSrdSpecificationBuilder
impl Default for AttachmentEnaSrdSpecificationBuilder
source§fn default() -> AttachmentEnaSrdSpecificationBuilder
fn default() -> AttachmentEnaSrdSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AttachmentEnaSrdSpecificationBuilder
impl PartialEq for AttachmentEnaSrdSpecificationBuilder
source§fn eq(&self, other: &AttachmentEnaSrdSpecificationBuilder) -> bool
fn eq(&self, other: &AttachmentEnaSrdSpecificationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttachmentEnaSrdSpecificationBuilder
Auto Trait Implementations§
impl Freeze for AttachmentEnaSrdSpecificationBuilder
impl RefUnwindSafe for AttachmentEnaSrdSpecificationBuilder
impl Send for AttachmentEnaSrdSpecificationBuilder
impl Sync for AttachmentEnaSrdSpecificationBuilder
impl Unpin for AttachmentEnaSrdSpecificationBuilder
impl UnwindSafe for AttachmentEnaSrdSpecificationBuilder
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.