pub struct ConstraintRead<'a> {
pub key: Option<&'a str>,
pub severity: Option<&'a str>,
pub human: Option<&'a str>,
pub expression: Option<&'a str>,
pub xpath: Option<&'a str>,
pub source: Option<&'a str>,
pub best_practice: Option<bool>,
}Expand description
One ElementDefinition.constraint.
Fields§
§key: Option<&'a str>The constraint key (constraint.key).
severity: Option<&'a str>error or warning (constraint.severity).
human: Option<&'a str>The description a person reads (constraint.human).
expression: Option<&'a str>The FHIRPath expression (constraint.expression).
xpath: Option<&'a str>The XPath expression (constraint.xpath), absent from R5.
source: Option<&'a str>The definition that first stated the constraint (constraint.source).
best_practice: Option<bool>The boolean its elementdefinition-bestpractice extension states.
Trait Implementations§
Source§impl<'a> Clone for ConstraintRead<'a>
impl<'a> Clone for ConstraintRead<'a>
Source§impl<'a> Debug for ConstraintRead<'a>
impl<'a> Debug for ConstraintRead<'a>
impl<'a> Eq for ConstraintRead<'a>
Source§impl<'a> PartialEq for ConstraintRead<'a>
impl<'a> PartialEq for ConstraintRead<'a>
impl<'a> StructuralPartialEq for ConstraintRead<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConstraintRead<'a>
impl<'a> RefUnwindSafe for ConstraintRead<'a>
impl<'a> Send for ConstraintRead<'a>
impl<'a> Sync for ConstraintRead<'a>
impl<'a> Unpin for ConstraintRead<'a>
impl<'a> UnsafeUnpin for ConstraintRead<'a>
impl<'a> UnwindSafe for ConstraintRead<'a>
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