Struct aws_sdk_ec2::types::EnaSrdSpecificationRequest
source · #[non_exhaustive]pub struct EnaSrdSpecificationRequest {
pub ena_srd_enabled: Option<bool>,
pub ena_srd_udp_specification: Option<EnaSrdUdpSpecificationRequest>,
}
Expand description
Launch instances with ENA Express settings configured from your launch template.
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.ena_srd_enabled: Option<bool>
Specifies whether ENA Express is enabled for the network interface when you launch an instance from your launch template.
ena_srd_udp_specification: Option<EnaSrdUdpSpecificationRequest>
Contains ENA Express settings for UDP network traffic in your launch template.
Implementations§
source§impl EnaSrdSpecificationRequest
impl EnaSrdSpecificationRequest
sourcepub fn ena_srd_enabled(&self) -> Option<bool>
pub fn ena_srd_enabled(&self) -> Option<bool>
Specifies whether ENA Express is enabled for the network interface when you launch an instance from your launch template.
sourcepub fn ena_srd_udp_specification(
&self
) -> Option<&EnaSrdUdpSpecificationRequest>
pub fn ena_srd_udp_specification( &self ) -> Option<&EnaSrdUdpSpecificationRequest>
Contains ENA Express settings for UDP network traffic in your launch template.
source§impl EnaSrdSpecificationRequest
impl EnaSrdSpecificationRequest
sourcepub fn builder() -> EnaSrdSpecificationRequestBuilder
pub fn builder() -> EnaSrdSpecificationRequestBuilder
Creates a new builder-style object to manufacture EnaSrdSpecificationRequest
.
Trait Implementations§
source§impl Clone for EnaSrdSpecificationRequest
impl Clone for EnaSrdSpecificationRequest
source§fn clone(&self) -> EnaSrdSpecificationRequest
fn clone(&self) -> EnaSrdSpecificationRequest
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 EnaSrdSpecificationRequest
impl Debug for EnaSrdSpecificationRequest
source§impl PartialEq for EnaSrdSpecificationRequest
impl PartialEq for EnaSrdSpecificationRequest
source§fn eq(&self, other: &EnaSrdSpecificationRequest) -> bool
fn eq(&self, other: &EnaSrdSpecificationRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnaSrdSpecificationRequest
Auto Trait Implementations§
impl RefUnwindSafe for EnaSrdSpecificationRequest
impl Send for EnaSrdSpecificationRequest
impl Sync for EnaSrdSpecificationRequest
impl Unpin for EnaSrdSpecificationRequest
impl UnwindSafe for EnaSrdSpecificationRequest
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.