pub enum ConceptMapTarget {
Uri(Uri),
Canonical(Canonical),
}Expand description
The `target[x]` choice of `ConceptMap`.
The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made.
Variants§
Implementations§
Source§impl ConceptMapTarget
impl ConceptMapTarget
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 ConceptMapTarget
impl Clone for ConceptMapTarget
Source§impl Debug for ConceptMapTarget
impl Debug for ConceptMapTarget
impl Eq for ConceptMapTarget
Source§impl PartialEq for ConceptMapTarget
impl PartialEq for ConceptMapTarget
impl StructuralPartialEq for ConceptMapTarget
Auto Trait Implementations§
impl Freeze for ConceptMapTarget
impl RefUnwindSafe for ConceptMapTarget
impl Send for ConceptMapTarget
impl Sync for ConceptMapTarget
impl Unpin for ConceptMapTarget
impl UnsafeUnpin for ConceptMapTarget
impl UnwindSafe for ConceptMapTarget
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