pub enum TimingRepeatBounds {
Duration(Duration),
Range(Range),
Period(Period),
}Expand description
The types Timing.repeat.bounds[x] allows.
Variants§
Trait Implementations§
Source§impl Choice for TimingRepeatBounds
impl Choice for TimingRepeatBounds
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 TimingRepeatBounds
impl Clone for TimingRepeatBounds
Source§impl Debug for TimingRepeatBounds
impl Debug for TimingRepeatBounds
Source§impl PartialEq for TimingRepeatBounds
impl PartialEq for TimingRepeatBounds
impl StructuralPartialEq for TimingRepeatBounds
Auto Trait Implementations§
impl Freeze for TimingRepeatBounds
impl RefUnwindSafe for TimingRepeatBounds
impl Send for TimingRepeatBounds
impl Sync for TimingRepeatBounds
impl Unpin for TimingRepeatBounds
impl UnsafeUnpin for TimingRepeatBounds
impl UnwindSafe for TimingRepeatBounds
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