pub enum DeviceDefinitionRelationType {
Gateway,
Previous,
Replaces,
}Expand description
DeviceDefinitionRelationType. The type of relation between devices.
FHIR version: 5.0.0.
Variants§
Gateway
gateway
Gateway. Gateway.
Previous
previous
Previous. The current device is a previous device and has been replaced by the linked device.
Replaces
replaces
Replaces. The current device replaces the linked device.
Trait Implementations§
Source§impl AsRef<str> for DeviceDefinitionRelationType
impl AsRef<str> for DeviceDefinitionRelationType
Source§impl Clone for DeviceDefinitionRelationType
impl Clone for DeviceDefinitionRelationType
Source§fn clone(&self) -> DeviceDefinitionRelationType
fn clone(&self) -> DeviceDefinitionRelationType
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 DeviceDefinitionRelationType
impl Debug for DeviceDefinitionRelationType
Source§impl<'de> Deserialize<'de> for DeviceDefinitionRelationType
impl<'de> Deserialize<'de> for DeviceDefinitionRelationType
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 From<DeviceDefinitionRelationType> for CodeableConcept
impl From<DeviceDefinitionRelationType> for CodeableConcept
Source§fn from(code: DeviceDefinitionRelationType) -> Self
fn from(code: DeviceDefinitionRelationType) -> Self
Converts to this type from the input type.
Source§impl From<DeviceDefinitionRelationType> for Coding
impl From<DeviceDefinitionRelationType> for Coding
Source§fn from(code: DeviceDefinitionRelationType) -> Self
fn from(code: DeviceDefinitionRelationType) -> Self
Converts to this type from the input type.
Source§impl Hash for DeviceDefinitionRelationType
impl Hash for DeviceDefinitionRelationType
Source§impl PartialEq for DeviceDefinitionRelationType
impl PartialEq for DeviceDefinitionRelationType
Source§fn eq(&self, other: &DeviceDefinitionRelationType) -> bool
fn eq(&self, other: &DeviceDefinitionRelationType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DeviceDefinitionRelationType
impl Eq for DeviceDefinitionRelationType
impl StructuralPartialEq for DeviceDefinitionRelationType
Auto Trait Implementations§
impl Freeze for DeviceDefinitionRelationType
impl RefUnwindSafe for DeviceDefinitionRelationType
impl Send for DeviceDefinitionRelationType
impl Sync for DeviceDefinitionRelationType
impl Unpin for DeviceDefinitionRelationType
impl UnsafeUnpin for DeviceDefinitionRelationType
impl UnwindSafe for DeviceDefinitionRelationType
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