pub struct ElementBinding {
pub path: String,
pub strength: BindingStrength,
pub value_set_url: String,
pub description: Option<String>,
}Expand description
Element binding to a ValueSet
This structure is shared between the validator and code generator. Generated resources embed these as static constants for elements with required bindings.
Fields§
§path: StringElement path (e.g., “Patient.gender”)
strength: BindingStrengthBinding strength
value_set_url: StringValueSet canonical URL
description: Option<String>Human-readable description
Implementations§
Trait Implementations§
Source§impl Clone for ElementBinding
impl Clone for ElementBinding
Source§fn clone(&self) -> ElementBinding
fn clone(&self) -> ElementBinding
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 ElementBinding
impl Debug for ElementBinding
Source§impl<'de> Deserialize<'de> for ElementBinding
impl<'de> Deserialize<'de> for ElementBinding
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
Source§impl PartialEq for ElementBinding
impl PartialEq for ElementBinding
Source§impl Serialize for ElementBinding
impl Serialize for ElementBinding
impl Eq for ElementBinding
impl StructuralPartialEq for ElementBinding
Auto Trait Implementations§
impl Freeze for ElementBinding
impl RefUnwindSafe for ElementBinding
impl Send for ElementBinding
impl Sync for ElementBinding
impl Unpin for ElementBinding
impl UnsafeUnpin for ElementBinding
impl UnwindSafe for ElementBinding
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