pub enum FHIRVersion {
Show 23 variants
V0080(Option<Element>),
V0081(Option<Element>),
V0082(Option<Element>),
V001(Option<Element>),
V005(Option<Element>),
V006(Option<Element>),
V011(Option<Element>),
V040(Option<Element>),
V050(Option<Element>),
V100(Option<Element>),
V101(Option<Element>),
V102(Option<Element>),
V110(Option<Element>),
V140(Option<Element>),
V160(Option<Element>),
V180(Option<Element>),
V300(Option<Element>),
V301(Option<Element>),
V330(Option<Element>),
V350(Option<Element>),
V400(Option<Element>),
V401(Option<Element>),
Null(Option<Element>),
}Variants§
V0080(Option<Element>)
0.0.80
V0081(Option<Element>)
0.0.81
V0082(Option<Element>)
0.0.82
V001(Option<Element>)
0.01
V005(Option<Element>)
0.05
V006(Option<Element>)
0.06
V011(Option<Element>)
0.11
V040(Option<Element>)
0.4.0
V050(Option<Element>)
0.5.0
V100(Option<Element>)
1.0.0
V101(Option<Element>)
1.0.1
V102(Option<Element>)
1.0.2
V110(Option<Element>)
1.1.0
V140(Option<Element>)
1.4.0
V160(Option<Element>)
1.6.0
V180(Option<Element>)
1.8.0
V300(Option<Element>)
3.0.0
V301(Option<Element>)
3.0.1
V330(Option<Element>)
3.3.0
V350(Option<Element>)
3.5.0
V400(Option<Element>)
4.0.0
V401(Option<Element>)
4.0.1
Null(Option<Element>)
If value is missing and just the element is present.
Implementations§
Source§impl FHIRVersion
impl FHIRVersion
Source§impl FHIRVersion
impl FHIRVersion
pub fn serialize_as_field<M: SerializeMap>( &self, field_name: &str, serializer: &mut M, ) -> Result<(), M::Error>
pub fn serialize_as_vector<M: SerializeMap>( field_name: &str, values: &[Box<Self>], serializer: &mut M, ) -> Result<(), M::Error>
Trait Implementations§
Source§impl Clone for FHIRVersion
impl Clone for FHIRVersion
Source§fn clone(&self) -> FHIRVersion
fn clone(&self) -> FHIRVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FHIRVersion
impl Debug for FHIRVersion
Source§impl Default for FHIRVersion
impl Default for FHIRVersion
Source§impl<'de> Deserialize<'de> for FHIRVersion
impl<'de> Deserialize<'de> for FHIRVersion
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl MetaValue for FHIRVersion
impl MetaValue for FHIRVersion
fn fields(&self) -> Vec<&'static str>
fn get_field<'a>(&'a self, field: &str) -> Option<&'a dyn MetaValue>
fn get_field_mut<'a>(&'a mut self, field: &str) -> Option<&'a mut dyn MetaValue>
fn get_index<'a>(&'a self, _index: usize) -> Option<&'a dyn MetaValue>
fn get_index_mut<'a>( &'a mut self, _index: usize, ) -> Option<&'a mut dyn MetaValue>
fn flatten(&self) -> Vec<&dyn MetaValue>
fn as_any(&self) -> &dyn Any
fn fhir_type(&self) -> &'static str
fn is_many(&self) -> bool
Source§impl Serialize for FHIRVersion
impl Serialize for FHIRVersion
Auto Trait Implementations§
impl Freeze for FHIRVersion
impl RefUnwindSafe for FHIRVersion
impl Send for FHIRVersion
impl Sync for FHIRVersion
impl Unpin for FHIRVersion
impl UnsafeUnpin for FHIRVersion
impl UnwindSafe for FHIRVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more