#[non_exhaustive]pub enum CreatedEhr {
Named(String),
Unnamed,
Malformed,
}Expand description
The ehr_id of the EHR a create left at its origin, as the origin’s
answer named it.
The recording system holds the ehr_id to the HIER_OBJECT_ID form
before it is recorded, so a value the answer carried in its place,
whatever it holds, never reaches the record.
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.
Named(String)
The answer named this ehr_id.
Unnamed
The answer named no ehr_id, so the record cannot tell which EHR the
create left.
Malformed
The answer named an ehr_id that is no HIER_OBJECT_ID, or two
that differ, so the record cannot tell which EHR the create left.
Implementations§
Trait Implementations§
Source§impl Clone for CreatedEhr
impl Clone for CreatedEhr
Source§impl Debug for CreatedEhr
impl Debug for CreatedEhr
impl Eq for CreatedEhr
Source§impl PartialEq for CreatedEhr
impl PartialEq for CreatedEhr
impl StructuralPartialEq for CreatedEhr
Auto Trait Implementations§
impl Freeze for CreatedEhr
impl RefUnwindSafe for CreatedEhr
impl Send for CreatedEhr
impl Sync for CreatedEhr
impl Unpin for CreatedEhr
impl UnsafeUnpin for CreatedEhr
impl UnwindSafe for CreatedEhr
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