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
Source§impl Metadata<'static> for Limit
impl Metadata<'static> for Limit
Source§const JSON_SCHEMA: &'static str = "NetworkDeviceFunction.v1_9_0.json"
const JSON_SCHEMA: &'static str = "NetworkDeviceFunction.v1_9_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for Limit
impl RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl UnwindSafe for Limit
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