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