pub enum SpecimenContainerAdditive {
CodeableConcept(CodeableConcept),
Reference(Reference),
}Expand description
The types Specimen.container.additive[x] allows.
Variants§
Trait Implementations§
Source§impl Choice for SpecimenContainerAdditive
Available on crate feature clinical only.
impl Choice for SpecimenContainerAdditive
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 SpecimenContainerAdditive
impl Clone for SpecimenContainerAdditive
Source§impl Debug for SpecimenContainerAdditive
impl Debug for SpecimenContainerAdditive
impl StructuralPartialEq for SpecimenContainerAdditive
Auto Trait Implementations§
impl Freeze for SpecimenContainerAdditive
impl RefUnwindSafe for SpecimenContainerAdditive
impl Send for SpecimenContainerAdditive
impl Sync for SpecimenContainerAdditive
impl Unpin for SpecimenContainerAdditive
impl UnsafeUnpin for SpecimenContainerAdditive
impl UnwindSafe for SpecimenContainerAdditive
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