pub enum ConceptMapTargetScope {
Uri(Uri),
Canonical(Canonical),
}Expand description
The `targetScope[x]` choice of `ConceptMap`.
Identifier for the target value set that provides important context about how the mapping choices are made. Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set.
Variants§
Implementations§
Source§impl ConceptMapTargetScope
impl ConceptMapTargetScope
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§
Source§impl Clone for ConceptMapTargetScope
impl Clone for ConceptMapTargetScope
Source§impl Debug for ConceptMapTargetScope
impl Debug for ConceptMapTargetScope
impl Eq for ConceptMapTargetScope
Source§impl PartialEq for ConceptMapTargetScope
impl PartialEq for ConceptMapTargetScope
impl StructuralPartialEq for ConceptMapTargetScope
Auto Trait Implementations§
impl Freeze for ConceptMapTargetScope
impl RefUnwindSafe for ConceptMapTargetScope
impl Send for ConceptMapTargetScope
impl Sync for ConceptMapTargetScope
impl Unpin for ConceptMapTargetScope
impl UnsafeUnpin for ConceptMapTargetScope
impl UnwindSafe for ConceptMapTargetScope
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