Struct redfish_codegen::models::network_device_function::v1_9_0::Limit
source · pub struct Limit {
pub burst_bytes_per_second: Option<i64>,
pub burst_packets_per_second: Option<i64>,
pub direction: Option<DataDirection>,
pub sustained_bytes_per_second: Option<i64>,
pub sustained_packets_per_second: Option<i64>,
}
Expand description
This type describes the packet and byte limit of a network device function.
Fields§
§burst_bytes_per_second: Option<i64>
The maximum number of bytes per second in a burst for this network device function.
burst_packets_per_second: Option<i64>
The maximum number of packets per second in a burst for this network device function.
direction: Option<DataDirection>
§sustained_bytes_per_second: Option<i64>
The maximum number of sustained bytes per second for this network device function.
sustained_packets_per_second: Option<i64>
The maximum number of sustained packets per second for this network device function.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Limit
impl<'de> Deserialize<'de> for Limit
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more