pub enum Generation {
V3_1,
}Expand description
The BMM generations this crate emits, one variant per version module, oldest first.
Generated from the openehr-codegen composition table — the single
authority for which generations exist. std::fmt::Display and
std::str::FromStr round-trip the generation-module name ("v3_1"). Generation::default() is the crate’s CURRENT generation — the
one crate::prelude re-exports (the composition table’s current
marker, via the std #[default] variant attribute).
Variants§
V3_1
The v3_1 generation — openEHR specification version 3.1.0.
Implementations§
Source§impl Generation
impl Generation
Sourcepub const fn spec_version(self) -> &'static str
pub const fn spec_version(self) -> &'static str
Returns the openEHR specification version this generation implements.
Sourcepub const fn as_str(self) -> &'static str
pub const fn as_str(self) -> &'static str
Returns the generation token — the version-module name
("v3_1"), which is also the std::fmt::Display and
std::str::FromStr form.
Trait Implementations§
Source§impl Clone for Generation
impl Clone for Generation
impl Copy for Generation
Source§impl Debug for Generation
impl Debug for Generation
Source§impl Default for Generation
impl Default for Generation
Source§impl Display for Generation
impl Display for Generation
impl Eq for Generation
Source§impl FromStr for Generation
impl FromStr for Generation
Source§impl Hash for Generation
impl Hash for Generation
Source§impl Ord for Generation
impl Ord for Generation
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for Generation
impl PartialEq for Generation
Source§impl PartialOrd for Generation
impl PartialOrd for Generation
impl StructuralPartialEq for Generation
Auto Trait Implementations§
impl Freeze for Generation
impl RefUnwindSafe for Generation
impl Send for Generation
impl Sync for Generation
impl Unpin for Generation
impl UnsafeUnpin for Generation
impl UnwindSafe for Generation
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.