#[non_exhaustive]pub enum WireVersion {
Stu3,
R4,
R4B,
}Expand description
The FHIR release a server answers in.
The release decides which generated module writes the request and reads
the Parameters and the OperationOutcome of a call. R4 and R4B declare
the same in and out parameters for the three operations this client
sends. STU3 declares fewer, so a request naming a parameter STU3 has no
equivalent for is refused with
Error::UnsupportedParameter
before anything is sent.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Stu3
FHIR STU3, release 3.0.2 (https://hl7.org/fhir/STU3/).
R4
FHIR R4 (https://hl7.org/fhir/R4/).
R4B
FHIR R4B (https://hl7.org/fhir/R4B/).
Implementations§
Trait Implementations§
Source§impl Clone for WireVersion
impl Clone for WireVersion
impl Copy for WireVersion
Source§impl Debug for WireVersion
impl Debug for WireVersion
impl Eq for WireVersion
Source§impl PartialEq for WireVersion
impl PartialEq for WireVersion
impl StructuralPartialEq for WireVersion
Auto Trait Implementations§
impl Freeze for WireVersion
impl RefUnwindSafe for WireVersion
impl Send for WireVersion
impl Sync for WireVersion
impl Unpin for WireVersion
impl UnsafeUnpin for WireVersion
impl UnwindSafe for WireVersion
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.