pub struct NetworkAdapter {Show 28 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: Type,
pub actions: Option<Actions>,
pub assembly: Option<IdRef>,
pub certificates: Option<IdRef>,
pub controllers: Option<Vec<Controllers>>,
pub description: Option<Description>,
pub environment_metrics: Option<IdRef>,
pub id: Id,
pub identifiers: Option<Vec<Identifier>>,
pub lldp_enabled: Option<bool>,
pub location: Option<Location>,
pub manufacturer: Option<String>,
pub measurements: Option<Vec<MeasurementBlock>>,
pub metrics: Option<IdRef>,
pub model: Option<String>,
pub name: Name,
pub network_device_functions: Option<IdRef>,
pub network_ports: Option<IdRef>,
pub oem: Option<Oem>,
pub part_number: Option<String>,
pub ports: Option<IdRef>,
pub processors: Option<IdRef>,
pub sku: Option<String>,
pub serial_number: Option<String>,
pub status: Option<Status>,
}
Expand description
The NetworkAdapter schema represents a physical network adapter capable of connecting to a computer network. Examples include but are not limited to Ethernet, Fibre Channel, and converged network adapters.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: Type
§actions: Option<Actions>
§assembly: Option<IdRef>
§certificates: Option<IdRef>
§controllers: Option<Vec<Controllers>>
The set of network controllers ASICs that make up this NetworkAdapter.
description: Option<Description>
§environment_metrics: Option<IdRef>
§id: Id
§identifiers: Option<Vec<Identifier>>
The durable names for the network adapter.
lldp_enabled: Option<bool>
Enable or disable LLDP globally for an adapter.
location: Option<Location>
§manufacturer: Option<String>
The manufacturer or OEM of this network adapter.
measurements: Option<Vec<MeasurementBlock>>
An array of DSP0274-defined measurement blocks.
metrics: Option<IdRef>
§model: Option<String>
The model string for this network adapter.
name: Name
§network_device_functions: Option<IdRef>
§network_ports: Option<IdRef>
§oem: Option<Oem>
§part_number: Option<String>
Part number for this network adapter.
ports: Option<IdRef>
§processors: Option<IdRef>
§sku: Option<String>
The manufacturer SKU for this network adapter.
serial_number: Option<String>
The serial number for this network adapter.
status: Option<Status>
Trait Implementations§
Source§impl Clone for NetworkAdapter
impl Clone for NetworkAdapter
Source§fn clone(&self) -> NetworkAdapter
fn clone(&self) -> NetworkAdapter
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NetworkAdapter
impl Debug for NetworkAdapter
Source§impl Default for NetworkAdapter
impl Default for NetworkAdapter
Source§impl<'de> Deserialize<'de> for NetworkAdapter
impl<'de> Deserialize<'de> for NetworkAdapter
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 NetworkAdapter
impl Metadata<'static> for NetworkAdapter
Source§const JSON_SCHEMA: &'static str = "NetworkAdapter.v1_9_0.json"
const JSON_SCHEMA: &'static str = "NetworkAdapter.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 NetworkAdapter
impl RefUnwindSafe for NetworkAdapter
impl Send for NetworkAdapter
impl Sync for NetworkAdapter
impl Unpin for NetworkAdapter
impl UnwindSafe for NetworkAdapter
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