Struct aws_sdk_ec2::types::AttachmentEnaSrdSpecification
source · #[non_exhaustive]pub struct AttachmentEnaSrdSpecification {
pub ena_srd_enabled: Option<bool>,
pub ena_srd_udp_specification: Option<AttachmentEnaSrdUdpSpecification>,
}
Expand description
Describes the ENA Express configuration for the network interface that's attached to the instance.
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>
Indicates whether ENA Express is enabled for the network interface that's attached to the instance.
ena_srd_udp_specification: Option<AttachmentEnaSrdUdpSpecification>
ENA Express configuration for UDP network traffic.
Implementations§
source§impl AttachmentEnaSrdSpecification
impl AttachmentEnaSrdSpecification
sourcepub fn ena_srd_enabled(&self) -> Option<bool>
pub fn ena_srd_enabled(&self) -> Option<bool>
Indicates whether ENA Express is enabled for the network interface that's attached to the instance.
sourcepub fn ena_srd_udp_specification(
&self
) -> Option<&AttachmentEnaSrdUdpSpecification>
pub fn ena_srd_udp_specification( &self ) -> Option<&AttachmentEnaSrdUdpSpecification>
ENA Express configuration for UDP network traffic.
source§impl AttachmentEnaSrdSpecification
impl AttachmentEnaSrdSpecification
sourcepub fn builder() -> AttachmentEnaSrdSpecificationBuilder
pub fn builder() -> AttachmentEnaSrdSpecificationBuilder
Creates a new builder-style object to manufacture AttachmentEnaSrdSpecification
.
Trait Implementations§
source§impl Clone for AttachmentEnaSrdSpecification
impl Clone for AttachmentEnaSrdSpecification
source§fn clone(&self) -> AttachmentEnaSrdSpecification
fn clone(&self) -> AttachmentEnaSrdSpecification
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 PartialEq<AttachmentEnaSrdSpecification> for AttachmentEnaSrdSpecification
impl PartialEq<AttachmentEnaSrdSpecification> for AttachmentEnaSrdSpecification
source§fn eq(&self, other: &AttachmentEnaSrdSpecification) -> bool
fn eq(&self, other: &AttachmentEnaSrdSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttachmentEnaSrdSpecification
Auto Trait Implementations§
impl RefUnwindSafe for AttachmentEnaSrdSpecification
impl Send for AttachmentEnaSrdSpecification
impl Sync for AttachmentEnaSrdSpecification
impl Unpin for AttachmentEnaSrdSpecification
impl UnwindSafe for AttachmentEnaSrdSpecification
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