#[non_exhaustive]pub enum Matching {
Exact,
OpenEhr,
}Expand description
How a map compares an id with its keys.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Exact
Exactly: an id that differs from a key by case is unmapped.
OpenEhr
As openEHR BASE compares composite identifiers: two ids identical apart from case identify the same thing. BASE limits their textual parts to the basic latin letters, so the comparison folds ASCII case.
Trait Implementations§
impl Copy for Matching
impl Eq for Matching
impl StructuralPartialEq for Matching
Auto Trait Implementations§
impl Freeze for Matching
impl RefUnwindSafe for Matching
impl Send for Matching
impl Sync for Matching
impl Unpin for Matching
impl UnsafeUnpin for Matching
impl UnwindSafe for Matching
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