pub enum ReadingBasisType {
Zero,
Delta,
Headroom,
UnsupportedValue,
}Variants§
Zero
A zero-based reading.
This value shall indicate a reading with zero as its reference point.
Delta
A reading that reports the difference between two measurements.
This value shall indicate a reading that reports the difference between two measurements.
Headroom
A reading that decreases as it approaches a defined reference point.
This value shall indicate a reading that decreases in value as it approaches the reference point. If the value crosses the reference point, the value may be reported as a negative number or may report a value of zero.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for ReadingBasisType
impl Clone for ReadingBasisType
Source§fn clone(&self) -> ReadingBasisType
fn clone(&self) -> ReadingBasisType
Returns a duplicate of the value. Read more
1.0.0 · 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 ReadingBasisType
impl Debug for ReadingBasisType
Source§impl<'de> Deserialize<'de> for ReadingBasisType
impl<'de> Deserialize<'de> for ReadingBasisType
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 PartialEq for ReadingBasisType
impl PartialEq for ReadingBasisType
Source§impl Serialize for ReadingBasisType
impl Serialize for ReadingBasisType
Source§impl ToSnakeCase for ReadingBasisType
impl ToSnakeCase for ReadingBasisType
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringimpl Copy for ReadingBasisType
impl Eq for ReadingBasisType
impl StructuralPartialEq for ReadingBasisType
Auto Trait Implementations§
impl Freeze for ReadingBasisType
impl RefUnwindSafe for ReadingBasisType
impl Send for ReadingBasisType
impl Sync for ReadingBasisType
impl Unpin for ReadingBasisType
impl UnsafeUnpin for ReadingBasisType
impl UnwindSafe for ReadingBasisType
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