pub enum VersionScheme {
SemVer,
DotIntegerNotation,
OEM,
}
Variants§
SemVer
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
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
This value shall indicate that the value of the Version property follows a format and rules as defined by the vendor or manufacturer.
Trait Implementations§
Source§impl Clone for VersionScheme
impl Clone for VersionScheme
Source§fn clone(&self) -> VersionScheme
fn clone(&self) -> VersionScheme
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 VersionScheme
impl Debug for VersionScheme
Source§impl Default for VersionScheme
impl Default for VersionScheme
Source§fn default() -> VersionScheme
fn default() -> VersionScheme
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for VersionScheme
impl Metadata<'static> for VersionScheme
Source§const JSON_SCHEMA: &'static str = "SoftwareInventory.v1_9_0.json"
const JSON_SCHEMA: &'static str = "SoftwareInventory.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 VersionScheme
impl RefUnwindSafe for VersionScheme
impl Send for VersionScheme
impl Sync for VersionScheme
impl Unpin for VersionScheme
impl UnwindSafe for VersionScheme
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