pub struct ElementDefinition {
pub id: Option<String>,
pub path: String,
pub short: Option<String>,
pub definition: Option<String>,
pub min: Option<u32>,
pub max: Option<String>,
pub element_type: Option<Vec<ElementType>>,
pub fixed: Option<Value>,
pub pattern: Option<Value>,
pub binding: Option<ElementBinding>,
pub constraint: Option<Vec<ElementConstraint>>,
}Expand description
Represents a FHIR element definition
Fields§
§id: Option<String>§path: String§short: Option<String>§definition: Option<String>§min: Option<u32>§max: Option<String>§element_type: Option<Vec<ElementType>>§fixed: Option<Value>§pattern: Option<Value>§binding: Option<ElementBinding>§constraint: Option<Vec<ElementConstraint>>Trait Implementations§
Source§impl Clone for ElementDefinition
impl Clone for ElementDefinition
Source§fn clone(&self) -> ElementDefinition
fn clone(&self) -> ElementDefinition
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 ElementDefinition
impl Debug for ElementDefinition
Source§impl<'de> Deserialize<'de> for ElementDefinition
impl<'de> Deserialize<'de> for ElementDefinition
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 ElementDefinition
impl RefUnwindSafe for ElementDefinition
impl Send for ElementDefinition
impl Sync for ElementDefinition
impl Unpin for ElementDefinition
impl UnsafeUnpin for ElementDefinition
impl UnwindSafe for ElementDefinition
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