pub struct ChoiceForm {
pub suffix: &'static str,
pub code: &'static str,
pub kind: Kind,
}Expand description
One alternative of a choice element: the suffix its JSON member carries, the type code the definition lists for it, and how it travels.
The JSON member of the alternative is the choice’s stem followed by the
suffix, the type code with its first letter in upper case
(valueQuantity, https://hl7.org/fhir/R4/json.html#2.6.2).
Fields§
§suffix: &'static strThe suffix of the JSON member name, for example Quantity.
code: &'static strThe type code the definition lists, for example dateTime.
kind: KindHow the alternative travels.
Trait Implementations§
Source§impl Clone for ChoiceForm
impl Clone for ChoiceForm
impl Copy for ChoiceForm
Source§impl Debug for ChoiceForm
impl Debug for ChoiceForm
impl Eq for ChoiceForm
Source§impl PartialEq for ChoiceForm
impl PartialEq for ChoiceForm
impl StructuralPartialEq for ChoiceForm
Auto Trait Implementations§
impl Freeze for ChoiceForm
impl RefUnwindSafe for ChoiceForm
impl Send for ChoiceForm
impl Sync for ChoiceForm
impl Unpin for ChoiceForm
impl UnsafeUnpin for ChoiceForm
impl UnwindSafe for ChoiceForm
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