pub enum ConceptMapSource {
Uri(Uri),
Canonical(Canonical),
}Expand description
The `source[x]` choice of `ConceptMap`.
Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.
Variants§
Implementations§
Source§impl ConceptMapSource
impl ConceptMapSource
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 ConceptMapSource
impl Clone for ConceptMapSource
Source§impl Debug for ConceptMapSource
impl Debug for ConceptMapSource
impl Eq for ConceptMapSource
Source§impl PartialEq for ConceptMapSource
impl PartialEq for ConceptMapSource
impl StructuralPartialEq for ConceptMapSource
Auto Trait Implementations§
impl Freeze for ConceptMapSource
impl RefUnwindSafe for ConceptMapSource
impl Send for ConceptMapSource
impl Sync for ConceptMapSource
impl Unpin for ConceptMapSource
impl UnsafeUnpin for ConceptMapSource
impl UnwindSafe for ConceptMapSource
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