pub struct ElementConstraint {
pub key: String,
pub severity: String,
pub human: String,
pub expression: Option<String>,
pub xpath: Option<String>,
pub source: Option<String>,
}Expand description
Represents a FHIR constraint (invariant) on an element
Fields§
§key: String§severity: String§human: String§expression: Option<String>§xpath: Option<String>§source: Option<String>Trait Implementations§
Source§impl Clone for ElementConstraint
impl Clone for ElementConstraint
Source§fn clone(&self) -> ElementConstraint
fn clone(&self) -> ElementConstraint
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 ElementConstraint
impl Debug for ElementConstraint
Source§impl<'de> Deserialize<'de> for ElementConstraint
impl<'de> Deserialize<'de> for ElementConstraint
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 ElementConstraint
impl RefUnwindSafe for ElementConstraint
impl Send for ElementConstraint
impl Sync for ElementConstraint
impl Unpin for ElementConstraint
impl UnsafeUnpin for ElementConstraint
impl UnwindSafe for ElementConstraint
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