pub enum SofCapabilityStatement {
R4(CapabilityStatement),
}Expand description
Multi-version CapabilityStatement container supporting version-agnostic operations.
This enum provides a unified interface for working with CapabilityStatement resources across different FHIR specification versions. It enables applications to handle multiple FHIR versions simultaneously while maintaining type safety.
§Supported Versions
- R4: FHIR 4.0.1 CapabilityStatement (normative)
- R4B: FHIR 4.3.0 CapabilityStatement (ballot)
- R5: FHIR 5.0.0 CapabilityStatement (ballot)
- R6: FHIR 6.0.0 CapabilityStatement (draft)
Variants§
Implementations§
Source§impl SofCapabilityStatement
impl SofCapabilityStatement
Sourcepub fn version(&self) -> FhirVersion
pub fn version(&self) -> FhirVersion
Returns the FHIR specification version of this CapabilityStatement.
Trait Implementations§
Source§impl Clone for SofCapabilityStatement
impl Clone for SofCapabilityStatement
Source§fn clone(&self) -> SofCapabilityStatement
fn clone(&self) -> SofCapabilityStatement
Returns a duplicate of the value. Read more
1.0.0 · 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 SofCapabilityStatement
impl Debug for SofCapabilityStatement
Source§impl<'de> Deserialize<'de> for SofCapabilityStatement
impl<'de> Deserialize<'de> for SofCapabilityStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SofCapabilityStatement
impl RefUnwindSafe for SofCapabilityStatement
impl Send for SofCapabilityStatement
impl Sync for SofCapabilityStatement
impl Unpin for SofCapabilityStatement
impl UnwindSafe for SofCapabilityStatement
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