pub enum InteractionType {
DrugDrug,
DrugFood,
DrugTest,
Other,
}Expand description
InteractionType. A categorisation for an interaction between two substances.
FHIR version: 5.0.0.
Variants§
DrugDrug
drug-drug
drug to drug interaction.
DrugFood
drug-food
drug to food interaction.
DrugTest
drug-test
drug to laboratory test interaction.
Other
other
other interaction.
Trait Implementations§
Source§impl AsRef<str> for InteractionType
impl AsRef<str> for InteractionType
Source§impl Clone for InteractionType
impl Clone for InteractionType
Source§fn clone(&self) -> InteractionType
fn clone(&self) -> InteractionType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InteractionType
impl Debug for InteractionType
Source§impl<'de> Deserialize<'de> for InteractionType
impl<'de> Deserialize<'de> for InteractionType
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InteractionType
impl Display for InteractionType
Source§impl From<InteractionType> for CodeableConcept
impl From<InteractionType> for CodeableConcept
Source§fn from(code: InteractionType) -> Self
fn from(code: InteractionType) -> Self
Converts to this type from the input type.
Source§impl From<InteractionType> for Coding
impl From<InteractionType> for Coding
Source§fn from(code: InteractionType) -> Self
fn from(code: InteractionType) -> Self
Converts to this type from the input type.
Source§impl FromStr for InteractionType
impl FromStr for InteractionType
Source§impl Hash for InteractionType
impl Hash for InteractionType
Source§impl PartialEq for InteractionType
impl PartialEq for InteractionType
Source§fn eq(&self, other: &InteractionType) -> bool
fn eq(&self, other: &InteractionType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InteractionType
impl Serialize for InteractionType
impl Copy for InteractionType
impl Eq for InteractionType
impl StructuralPartialEq for InteractionType
Auto Trait Implementations§
impl Freeze for InteractionType
impl RefUnwindSafe for InteractionType
impl Send for InteractionType
impl Sync for InteractionType
impl Unpin for InteractionType
impl UnsafeUnpin for InteractionType
impl UnwindSafe for InteractionType
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