pub enum ConceptMapGroupElementTargetPropertyValue {
Coding(Box<Coding>),
String(String),
Integer(Integer),
Boolean(Boolean),
DateTime(DateTime),
Decimal(Decimal),
Code(Code),
}Expand description
The `value[x]` choice of `ConceptMapGroupElementTargetProperty`.
The value of this property. If the type chosen for this element is ‘code’, then the property SHALL be defined in a ConceptMap.property element.
Variants§
Coding(Box<Coding>)
The Coding form.
String(String)
The string form.
Integer(Integer)
The integer form.
Boolean(Boolean)
The boolean form.
DateTime(DateTime)
The dateTime form.
Decimal(Decimal)
The decimal form.
Code(Code)
The code form.
Implementations§
Source§impl ConceptMapGroupElementTargetPropertyValue
impl ConceptMapGroupElementTargetPropertyValue
Sourcepub fn to_json_parts(
&self,
) -> Result<(&'static str, Option<Value>, Option<Value>), EncodeError>
pub fn to_json_parts( &self, ) -> Result<(&'static str, Option<Value>, Option<Value>), EncodeError>
The key suffix, the value part, and the _name part of this form.
§Errors
Returns super::super::codec::EncodeError when a held value has no JSON form.
Sourcepub fn from_json_parts(
suffix: &str,
value: Option<&Value>,
element: Option<&Value>,
path: &mut Path,
) -> Result<Self, DecodeError>
pub fn from_json_parts( suffix: &str, value: Option<&Value>, element: Option<&Value>, path: &mut Path, ) -> Result<Self, DecodeError>
Decodes the form named by suffix from its value and _name parts.
§Errors
Returns super::super::codec::DecodeError for an unknown suffix or a malformed part.
Trait Implementations§
impl Eq for ConceptMapGroupElementTargetPropertyValue
impl StructuralPartialEq for ConceptMapGroupElementTargetPropertyValue
Auto Trait Implementations§
impl Freeze for ConceptMapGroupElementTargetPropertyValue
impl RefUnwindSafe for ConceptMapGroupElementTargetPropertyValue
impl Send for ConceptMapGroupElementTargetPropertyValue
impl Sync for ConceptMapGroupElementTargetPropertyValue
impl Unpin for ConceptMapGroupElementTargetPropertyValue
impl UnsafeUnpin for ConceptMapGroupElementTargetPropertyValue
impl UnwindSafe for ConceptMapGroupElementTargetPropertyValue
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