pub enum VersionScheme {
SemVer,
DotIntegerNotation,
Oem,
UnsupportedValue,
}Variants§
SemVer
Version follows Semantic Versioning 2.0 rules.
This value shall indicate that the value of the Version property conforms to the format and rules
of the Semantic Version 2.0 specification, and may include pre-release or build metadata.
DotIntegerNotation
Version formatted as dot-separated integers.
This value shall indicate that the value of the Version property contains a sequence of integers
separated by period (dot) characters, and shall follow the pattern ^\d+(\.\d+)*$. Leading zeros
in the sequence shall be ignored.
Oem
Version follows OEM-defined format.
This value shall indicate that the value of the Version property follows a format and rules as
defined by the vendor or manufacturer.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for VersionScheme
impl Clone for VersionScheme
Source§fn clone(&self) -> VersionScheme
fn clone(&self) -> VersionScheme
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for VersionScheme
impl Debug for VersionScheme
Source§impl<'de> Deserialize<'de> for VersionScheme
impl<'de> Deserialize<'de> for VersionScheme
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>,
Source§impl PartialEq for VersionScheme
impl PartialEq for VersionScheme
Source§fn eq(&self, other: &VersionScheme) -> bool
fn eq(&self, other: &VersionScheme) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for VersionScheme
impl Serialize for VersionScheme
Source§impl ToSnakeCase for VersionScheme
impl ToSnakeCase for VersionScheme
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
snake_case string