Struct aws_sdk_devicefarm::types::NetworkProfile
source · #[non_exhaustive]pub struct NetworkProfile {
pub arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub type: Option<NetworkProfileType>,
pub uplink_bandwidth_bits: Option<i64>,
pub downlink_bandwidth_bits: Option<i64>,
pub uplink_delay_ms: Option<i64>,
pub downlink_delay_ms: Option<i64>,
pub uplink_jitter_ms: Option<i64>,
pub downlink_jitter_ms: Option<i64>,
pub uplink_loss_percent: i32,
pub downlink_loss_percent: i32,
}
Expand description
An array of settings that describes characteristics of a network profile.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The Amazon Resource Name (ARN) of the network profile.
name: Option<String>
The name of the network profile.
description: Option<String>
The description of the network profile.
type: Option<NetworkProfileType>
The type of network profile. Valid values are listed here.
uplink_bandwidth_bits: Option<i64>
The data throughput rate in bits per second, as an integer from 0 to 104857600.
downlink_bandwidth_bits: Option<i64>
The data throughput rate in bits per second, as an integer from 0 to 104857600.
uplink_delay_ms: Option<i64>
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
downlink_delay_ms: Option<i64>
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
uplink_jitter_ms: Option<i64>
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
downlink_jitter_ms: Option<i64>
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
uplink_loss_percent: i32
Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
downlink_loss_percent: i32
Proportion of received packets that fail to arrive from 0 to 100 percent.
Implementations§
source§impl NetworkProfile
impl NetworkProfile
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the network profile.
sourcepub fn type(&self) -> Option<&NetworkProfileType>
pub fn type(&self) -> Option<&NetworkProfileType>
The type of network profile. Valid values are listed here.
sourcepub fn uplink_bandwidth_bits(&self) -> Option<i64>
pub fn uplink_bandwidth_bits(&self) -> Option<i64>
The data throughput rate in bits per second, as an integer from 0 to 104857600.
sourcepub fn downlink_bandwidth_bits(&self) -> Option<i64>
pub fn downlink_bandwidth_bits(&self) -> Option<i64>
The data throughput rate in bits per second, as an integer from 0 to 104857600.
sourcepub fn uplink_delay_ms(&self) -> Option<i64>
pub fn uplink_delay_ms(&self) -> Option<i64>
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
sourcepub fn downlink_delay_ms(&self) -> Option<i64>
pub fn downlink_delay_ms(&self) -> Option<i64>
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
sourcepub fn uplink_jitter_ms(&self) -> Option<i64>
pub fn uplink_jitter_ms(&self) -> Option<i64>
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
sourcepub fn downlink_jitter_ms(&self) -> Option<i64>
pub fn downlink_jitter_ms(&self) -> Option<i64>
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
sourcepub fn uplink_loss_percent(&self) -> i32
pub fn uplink_loss_percent(&self) -> i32
Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
sourcepub fn downlink_loss_percent(&self) -> i32
pub fn downlink_loss_percent(&self) -> i32
Proportion of received packets that fail to arrive from 0 to 100 percent.
source§impl NetworkProfile
impl NetworkProfile
sourcepub fn builder() -> NetworkProfileBuilder
pub fn builder() -> NetworkProfileBuilder
Creates a new builder-style object to manufacture NetworkProfile
.
Trait Implementations§
source§impl Clone for NetworkProfile
impl Clone for NetworkProfile
source§fn clone(&self) -> NetworkProfile
fn clone(&self) -> NetworkProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NetworkProfile
impl Debug for NetworkProfile
source§impl PartialEq for NetworkProfile
impl PartialEq for NetworkProfile
source§fn eq(&self, other: &NetworkProfile) -> bool
fn eq(&self, other: &NetworkProfile) -> bool
self
and other
values to be equal, and is used
by ==
.