Struct aws_sdk_ec2::types::NetworkCardInfo
source · #[non_exhaustive]pub struct NetworkCardInfo {
pub network_card_index: Option<i32>,
pub network_performance: Option<String>,
pub maximum_network_interfaces: Option<i32>,
pub baseline_bandwidth_in_gbps: Option<f64>,
pub peak_bandwidth_in_gbps: Option<f64>,
}
Expand description
Describes the network card support of the instance type.
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.network_card_index: Option<i32>
The index of the network card.
network_performance: Option<String>
The network performance of the network card.
maximum_network_interfaces: Option<i32>
The maximum number of network interfaces for the network card.
baseline_bandwidth_in_gbps: Option<f64>
The baseline network performance of the network card, in Gbps.
peak_bandwidth_in_gbps: Option<f64>
The peak (burst) network performance of the network card, in Gbps.
Implementations§
source§impl NetworkCardInfo
impl NetworkCardInfo
sourcepub fn network_card_index(&self) -> Option<i32>
pub fn network_card_index(&self) -> Option<i32>
The index of the network card.
sourcepub fn network_performance(&self) -> Option<&str>
pub fn network_performance(&self) -> Option<&str>
The network performance of the network card.
sourcepub fn maximum_network_interfaces(&self) -> Option<i32>
pub fn maximum_network_interfaces(&self) -> Option<i32>
The maximum number of network interfaces for the network card.
sourcepub fn baseline_bandwidth_in_gbps(&self) -> Option<f64>
pub fn baseline_bandwidth_in_gbps(&self) -> Option<f64>
The baseline network performance of the network card, in Gbps.
sourcepub fn peak_bandwidth_in_gbps(&self) -> Option<f64>
pub fn peak_bandwidth_in_gbps(&self) -> Option<f64>
The peak (burst) network performance of the network card, in Gbps.
source§impl NetworkCardInfo
impl NetworkCardInfo
sourcepub fn builder() -> NetworkCardInfoBuilder
pub fn builder() -> NetworkCardInfoBuilder
Creates a new builder-style object to manufacture NetworkCardInfo
.
Trait Implementations§
source§impl Clone for NetworkCardInfo
impl Clone for NetworkCardInfo
source§fn clone(&self) -> NetworkCardInfo
fn clone(&self) -> NetworkCardInfo
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 NetworkCardInfo
impl Debug for NetworkCardInfo
source§impl PartialEq for NetworkCardInfo
impl PartialEq for NetworkCardInfo
source§fn eq(&self, other: &NetworkCardInfo) -> bool
fn eq(&self, other: &NetworkCardInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NetworkCardInfo
Auto Trait Implementations§
impl Freeze for NetworkCardInfo
impl RefUnwindSafe for NetworkCardInfo
impl Send for NetworkCardInfo
impl Sync for NetworkCardInfo
impl Unpin for NetworkCardInfo
impl UnwindSafe for NetworkCardInfo
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.