Struct Resource Metrics Network Traffic Units
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub struct ResourceMetricsNetworkTrafficUnits {
pub received_data: DataUnit,
pub transmitted_data: DataUnit,
pub receive_throughput: BandwidthUnit,
pub transmit_throughput: BandwidthUnit,
}
Unit choices for one group of network traffic.
Fields
received_data: DataUnit
Received data.
transmitted_data: DataUnit
Transmitted data.
receive_throughput: BandwidthUnit
Receive throughput.
transmit_throughput: BandwidthUnit
Transmit throughput.
Trait Implementations
impl Clone for ResourceMetricsNetworkTrafficUnits
impl Clone for ResourceMetricsNetworkTrafficUnits
clone
fn clone(&self) -> ResourceMetricsNetworkTrafficUnits
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for ResourceMetricsNetworkTrafficUnits
impl Debug for ResourceMetricsNetworkTrafficUnits
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl Default for ResourceMetricsNetworkTrafficUnits
impl Default for ResourceMetricsNetworkTrafficUnits
default
fn default() -> ResourceMetricsNetworkTrafficUnits
impl<'de> Deserialize<'de> for ResourceMetricsNetworkTrafficUnitswhere ResourceMetricsNetworkTrafficUnits: Default,
impl<'de> Deserialize<'de> for ResourceMetricsNetworkTrafficUnitswhere
ResourceMetricsNetworkTrafficUnits: Default,
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResourceMetricsNetworkTrafficUnits, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl EditorConfig for ResourceMetricsNetworkTrafficUnits
impl EditorConfig for ResourceMetricsNetworkTrafficUnits
editor_schema
fn editor_schema() -> &'static EditorSchema
impl PartialEq for ResourceMetricsNetworkTrafficUnits
impl PartialEq for ResourceMetricsNetworkTrafficUnits
eq
fn eq(&self, other: &ResourceMetricsNetworkTrafficUnits) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for ResourceMetricsNetworkTrafficUnits
impl Serialize for ResourceMetricsNetworkTrafficUnits
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for ResourceMetricsNetworkTrafficUnits
impl Eq for ResourceMetricsNetworkTrafficUnits
impl StructuralPartialEq for ResourceMetricsNetworkTrafficUnits
impl StructuralPartialEq for ResourceMetricsNetworkTrafficUnits