pub enum GuidanceResponseModule {
Uri(Primitive<String>),
Canonical(Primitive<String>),
CodeableConcept(CodeableConcept),
}Expand description
The types GuidanceResponse.module[x] allows.
Variants§
Uri(Primitive<String>)
uri
Canonical(Primitive<String>)
canonical
CodeableConcept(CodeableConcept)
CodeableConcept
Trait Implementations§
Source§impl Choice for GuidanceResponseModule
Available on crate feature clinical only.
impl Choice for GuidanceResponseModule
Available on crate feature
clinical 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.Source§impl Clone for GuidanceResponseModule
impl Clone for GuidanceResponseModule
Source§impl Debug for GuidanceResponseModule
impl Debug for GuidanceResponseModule
Source§impl PartialEq for GuidanceResponseModule
impl PartialEq for GuidanceResponseModule
impl StructuralPartialEq for GuidanceResponseModule
Auto Trait Implementations§
impl Freeze for GuidanceResponseModule
impl RefUnwindSafe for GuidanceResponseModule
impl Send for GuidanceResponseModule
impl Sync for GuidanceResponseModule
impl Unpin for GuidanceResponseModule
impl UnsafeUnpin for GuidanceResponseModule
impl UnwindSafe for GuidanceResponseModule
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