pub enum LineStatus {
Normal,
LossOfInput,
OutOfRange,
}Variants§
Normal
Line input is within normal operating range.
LossOfInput
No power detected at line input.
OutOfRange
Line input voltage or current is outside of normal operating range.
Trait Implementations§
Source§impl Clone for LineStatus
impl Clone for LineStatus
Source§fn clone(&self) -> LineStatus
fn clone(&self) -> LineStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LineStatus
impl Debug for LineStatus
Source§impl Default for LineStatus
impl Default for LineStatus
Source§fn default() -> LineStatus
fn default() -> LineStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LineStatus
impl<'de> Deserialize<'de> for LineStatus
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 LineStatus
impl Metadata<'static> for LineStatus
Source§const JSON_SCHEMA: &'static str = "PowerSupply.v1_5_1.json"
const JSON_SCHEMA: &'static str = "PowerSupply.v1_5_1.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 LineStatus
impl RefUnwindSafe for LineStatus
impl Send for LineStatus
impl Sync for LineStatus
impl Unpin for LineStatus
impl UnsafeUnpin for LineStatus
impl UnwindSafe for LineStatus
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