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 · 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<VersionAlgorithm, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<VersionAlgorithm, <D as Deserializer<'de>>::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) -> CodeableConcept
fn from(code: VersionAlgorithm) -> CodeableConcept
Converts to this type from the input type.
Source§impl From<VersionAlgorithm> for Coding
impl From<VersionAlgorithm> for Coding
Source§fn from(code: VersionAlgorithm) -> Coding
fn from(code: VersionAlgorithm) -> Coding
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§impl Serialize for VersionAlgorithm
impl Serialize for VersionAlgorithm
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.