Enum fhir_model::r5::codes::VersionAlgorithm
source · pub enum VersionAlgorithm {
Alpha,
Date,
Integer,
Natural,
Semver,
}Expand description
FHIR Code VersionAlgorithm. Indicates the mechanism used to compare versions to determine which is more current.
FHIR version: 5.0.0.
Variants§
Alpha
alpha
Alphabetical. Simple alphabetic sort on a case-insensitive and accent-insensitive basis. (Sorting of different cases or accented versions of a character is indeterminate)
Date
date
Date. Versions are expressed as an ISO date/time syntax (including syntaxes with only portions of a date)
Integer
integer
Integer. Versions are integers and ordered numerically
Natural
natural
Natural. Sorted according to the algorithm defined here: naturalordersort.org
Semver
semver
SemVer. Uses the semantic versioning scheme as defined in semver.org.
Trait Implementations§
source§impl AsRef<str> for VersionAlgorithm
impl AsRef<str> for VersionAlgorithm
source§impl Clone for VersionAlgorithm
impl Clone for VersionAlgorithm
source§fn clone(&self) -> VersionAlgorithm
fn clone(&self) -> VersionAlgorithm
Returns a copy 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 VersionAlgorithm
impl Debug for VersionAlgorithm
source§impl<'de> Deserialize<'de> for VersionAlgorithm
impl<'de> Deserialize<'de> for VersionAlgorithm
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 Display for VersionAlgorithm
impl Display for VersionAlgorithm
source§impl From<VersionAlgorithm> for CodeableConcept
impl From<VersionAlgorithm> for CodeableConcept
source§fn from(code: VersionAlgorithm) -> Self
fn from(code: VersionAlgorithm) -> Self
Converts to this type from the input type.
source§impl From<VersionAlgorithm> for Coding
impl From<VersionAlgorithm> for Coding
source§fn from(code: VersionAlgorithm) -> Self
fn from(code: VersionAlgorithm) -> Self
Converts to this type from the input type.
source§impl FromStr for VersionAlgorithm
impl FromStr for VersionAlgorithm
source§impl PartialEq<VersionAlgorithm> for VersionAlgorithm
impl PartialEq<VersionAlgorithm> for VersionAlgorithm
source§fn eq(&self, other: &VersionAlgorithm) -> bool
fn eq(&self, other: &VersionAlgorithm) -> bool
This method tests for
self and other values to be equal, and is used
by ==.