Enum fhir_sdk::r5::codes::VersionAlgorithm
source · 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 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<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 PartialEq for VersionAlgorithm
impl PartialEq 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 ==
.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 StructuralEq for VersionAlgorithm
impl StructuralPartialEq for VersionAlgorithm
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.