pub enum BiologicallyDerivedProductProcessingTime {
DateTime(Primitive<String>),
Period(Period),
}Expand description
The types BiologicallyDerivedProduct.processing.time[x] allows.
Variants§
Trait Implementations§
Source§impl Choice for BiologicallyDerivedProductProcessingTime
Available on crate feature base only.
impl Choice for BiologicallyDerivedProductProcessingTime
Available on crate feature
base 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 BiologicallyDerivedProductProcessingTime
Auto Trait Implementations§
impl Freeze for BiologicallyDerivedProductProcessingTime
impl RefUnwindSafe for BiologicallyDerivedProductProcessingTime
impl Send for BiologicallyDerivedProductProcessingTime
impl Sync for BiologicallyDerivedProductProcessingTime
impl Unpin for BiologicallyDerivedProductProcessingTime
impl UnsafeUnpin for BiologicallyDerivedProductProcessingTime
impl UnwindSafe for BiologicallyDerivedProductProcessingTime
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