pub enum CodeSystemConceptPropertyValue {
Code(Code),
Coding(Box<Coding>),
String(String),
Integer(Integer),
Boolean(Boolean),
DateTime(DateTime),
Decimal(Decimal),
}Expand description
The `value[x]` choice of `CodeSystemConceptProperty`.
The value of this property.
Variants§
Code(Code)
The code form.
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.
Implementations§
Source§impl CodeSystemConceptPropertyValue
impl CodeSystemConceptPropertyValue
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 CodeSystemConceptPropertyValue
impl StructuralPartialEq for CodeSystemConceptPropertyValue
Auto Trait Implementations§
impl Freeze for CodeSystemConceptPropertyValue
impl RefUnwindSafe for CodeSystemConceptPropertyValue
impl Send for CodeSystemConceptPropertyValue
impl Sync for CodeSystemConceptPropertyValue
impl Unpin for CodeSystemConceptPropertyValue
impl UnsafeUnpin for CodeSystemConceptPropertyValue
impl UnwindSafe for CodeSystemConceptPropertyValue
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