pub struct ElementDefinition {Show 17 fields
pub path: String,
pub id: Option<String>,
pub min: Option<u32>,
pub max: Option<String>,
pub type_: Option<Vec<ElementType>>,
pub binding: Option<ElementBinding>,
pub constraint: Option<Vec<ElementConstraint>>,
pub definition: Option<String>,
pub short: Option<String>,
pub comment: Option<String>,
pub requirements: Option<String>,
pub must_support: Option<bool>,
pub is_summary: Option<bool>,
pub is_modifier: Option<bool>,
pub is_modifier_reason: Option<String>,
pub slicing: Option<ElementSlicing>,
pub slice_name: Option<String>,
}Fields§
§path: String§id: Option<String>§min: Option<u32>§max: Option<String>§type_: Option<Vec<ElementType>>§binding: Option<ElementBinding>§constraint: Option<Vec<ElementConstraint>>§definition: Option<String>§short: Option<String>§comment: Option<String>§requirements: Option<String>§must_support: Option<bool>§is_summary: Option<bool>§is_modifier: Option<bool>§is_modifier_reason: Option<String>§slicing: Option<ElementSlicing>§slice_name: Option<String>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