pub struct Limit {
pub direction: Option<Option<DataDirection>>,
pub sustained_packets_per_second: Option<Option<Int64>>,
pub burst_packets_per_second: Option<Option<Int64>>,
pub sustained_bytes_per_second: Option<Option<Int64>>,
pub burst_bytes_per_second: Option<Option<Int64>>,
}Expand description
This type describes the packet and byte limit of a network device function.
This type shall describe a single array element of the packet and byte limits of a network device function.
Fields§
§direction: Option<Option<DataDirection>>Indicates the direction of the data to which this limit applies.
This property shall indicate the direction of the data to which this limit applies for this network device function.
sustained_packets_per_second: Option<Option<Int64>>The maximum number of sustained packets per second for this network device function.
This property shall contain the maximum number of sustained packets per second allowed for this network device function.
burst_packets_per_second: Option<Option<Int64>>The maximum number of packets per second in a burst for this network device function.
This property shall contain the maximum number of packets per second in a burst allowed for this network device function.
sustained_bytes_per_second: Option<Option<Int64>>The maximum number of sustained bytes per second for this network device function.
This property shall contain the maximum number of sustained bytes per second allowed for this network device function.
burst_bytes_per_second: Option<Option<Int64>>The maximum number of bytes per second in a burst for this network device function.
This property shall contain the maximum number of bytes per second in a burst allowed 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>,
impl Send for Limit
SAFETY: All generated data types are Send
impl Sync for Limit
SAFETY: All generated data types are Sync