pub enum VersionAlgorithm {
Alpha,
Date,
Integer,
Natural,
Semver,
}Expand description
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 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 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 Hash for VersionAlgorithm
impl Hash for VersionAlgorithm
Source§impl PartialEq for VersionAlgorithm
impl PartialEq for VersionAlgorithm
Source§fn eq(&self, other: &VersionAlgorithm) -> bool
fn eq(&self, other: &VersionAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VersionAlgorithm
impl Serialize for VersionAlgorithm
impl Copy for VersionAlgorithm
impl Eq for VersionAlgorithm
impl StructuralPartialEq for VersionAlgorithm
Auto Trait Implementations§
impl Freeze for VersionAlgorithm
impl RefUnwindSafe for VersionAlgorithm
impl Send for VersionAlgorithm
impl Sync for VersionAlgorithm
impl Unpin for VersionAlgorithm
impl UnsafeUnpin for VersionAlgorithm
impl UnwindSafe for VersionAlgorithm
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