// Generated by redfish-codegen. Do not modify.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum LinkStatus {
/// The link is available for communication on this interface.
LinkUp,
/// No link or connection is detected on this interface.
NoLink,
/// No link is detected on this interface, but the interface is connected.
LinkDown,
}
#[allow(clippy::derivable_impls)]
impl Default for LinkStatus {
fn default() -> LinkStatus {
LinkStatus::LinkUp
}
}
impl crate::Metadata<'static> for LinkStatus {
const JSON_SCHEMA: &'static str = "EthernetInterface.v1_9_0.json";
}