pub enum ImplementationGuideManifestResourceExample {
Boolean(Primitive<bool>),
Canonical(Primitive<String>),
}Expand description
The types ImplementationGuide.manifest.resource.example[x] allows.
Variants§
Trait Implementations§
Source§impl Choice for ImplementationGuideManifestResourceExample
Available on crate feature foundation only.
impl Choice for ImplementationGuideManifestResourceExample
Available on crate feature
foundation only.Source§const TYPES: &'static [&'static str]
const TYPES: &'static [&'static str]
The FHIR type codes the element allows, in definition order. The
JSON key is the element name followed by the capitalised code
(
value + Quantity).Source§fn decode_as(
code: &str,
key: &str,
o: &mut Obj<'_>,
d: &mut Decoder,
) -> Option<Self>
fn decode_as( code: &str, key: &str, o: &mut Obj<'_>, d: &mut Decoder, ) -> Option<Self>
Read the variant for type
code from key key of o.Source§fn encode_into(&self, base: &str, w: &mut ObjWriter)
fn encode_into(&self, base: &str, w: &mut ObjWriter)
Write the chosen variant under
base plus its type suffix.impl StructuralPartialEq for ImplementationGuideManifestResourceExample
Auto Trait Implementations§
impl Freeze for ImplementationGuideManifestResourceExample
impl RefUnwindSafe for ImplementationGuideManifestResourceExample
impl Send for ImplementationGuideManifestResourceExample
impl Sync for ImplementationGuideManifestResourceExample
impl Unpin for ImplementationGuideManifestResourceExample
impl UnsafeUnpin for ImplementationGuideManifestResourceExample
impl UnwindSafe for ImplementationGuideManifestResourceExample
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