#[non_exhaustive]pub enum ResourceKind {
Ehr,
EhrStatus,
EhrAccess,
Folder,
ItemTag,
RevisionHistory,
Other(String),
}Expand description
A kind of resource that holds no data of any category: the openEHR Reference Model classes an access can reach beside clinical content, or a kind the deployment names.
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.
Ehr
EHR.
EhrStatus
EHR_STATUS.
EhrAccess
EHR_ACCESS.
Folder
FOLDER.
ItemTag
An ITEM_TAG.
RevisionHistory
A REVISION_HISTORY.
Other(String)
A kind the deployment names.
Implementations§
Trait Implementations§
Source§impl Clone for ResourceKind
impl Clone for ResourceKind
Source§impl Debug for ResourceKind
impl Debug for ResourceKind
impl Eq for ResourceKind
Source§impl Hash for ResourceKind
impl Hash for ResourceKind
Source§impl Ord for ResourceKind
impl Ord for ResourceKind
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 ResourceKind
impl PartialEq for ResourceKind
Source§impl PartialOrd for ResourceKind
impl PartialOrd for ResourceKind
impl StructuralPartialEq for ResourceKind
Auto Trait Implementations§
impl Freeze for ResourceKind
impl RefUnwindSafe for ResourceKind
impl Send for ResourceKind
impl Sync for ResourceKind
impl Unpin for ResourceKind
impl UnsafeUnpin for ResourceKind
impl UnwindSafe for ResourceKind
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