pub struct Ethernet {
pub num_offloaded_ipv4_conns: Option<i64>,
pub num_offloaded_ipv6_conns: Option<i64>,
}
Expand description
The network function metrics for an Ethernet interface.
Fields§
§num_offloaded_ipv4_conns: Option<i64>
The total number of offloaded TCP/IPv4 connections.
num_offloaded_ipv6_conns: Option<i64>
The total number of offloaded TCP/IPv6 connections.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ethernet
impl<'de> Deserialize<'de> for Ethernet
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 Ethernet
impl Metadata<'static> for Ethernet
Source§const JSON_SCHEMA: &'static str = "NetworkDeviceFunctionMetrics.v1_1_0.json"
const JSON_SCHEMA: &'static str = "NetworkDeviceFunctionMetrics.v1_1_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 Ethernet
impl RefUnwindSafe for Ethernet
impl Send for Ethernet
impl Sync for Ethernet
impl Unpin for Ethernet
impl UnwindSafe for Ethernet
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