pub struct ElementDefinitionTypeElement {
pub id: Option<String>,
pub extension: Option<Vec<Extension>>,
pub code: Option<UriDt>,
pub profile: Option<Vec<CanonicalDt>>,
pub target_profile: Option<Vec<CanonicalDt>>,
pub aggregation: Option<Vec<CodeDt>>,
pub versioning: Option<CodeDt>,
}
Fields§
§id: Option<String>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
code: Option<UriDt>
Data type or Resource (reference to definition)
profile: Option<Vec<CanonicalDt>>
Profiles (StructureDefinition or IG) - one must apply
target_profile: Option<Vec<CanonicalDt>>
Profile (StructureDefinition or IG) on the Reference/canonical target - one must apply
aggregation: Option<Vec<CodeDt>>
contained | referenced | bundled - how aggregated
versioning: Option<CodeDt>
either | independent | specific
Implementations§
Source§impl ElementDefinitionTypeElement
impl ElementDefinitionTypeElement
pub fn set_code<T: Into<UriDt>>(self, v: T) -> Self
pub fn set_profile(self, v: Vec<CanonicalDt>) -> Self
pub fn add_profile<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_target_profile(self, v: Vec<CanonicalDt>) -> Self
pub fn add_target_profile<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_aggregation(self, v: Vec<CodeDt>) -> Self
pub fn add_aggregation<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_versioning<T: Into<CodeDt>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ElementDefinitionTypeElement
impl Clone for ElementDefinitionTypeElement
Source§fn clone(&self) -> ElementDefinitionTypeElement
fn clone(&self) -> ElementDefinitionTypeElement
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 Convert for ElementDefinitionTypeElement
impl Convert for ElementDefinitionTypeElement
fn to_integer(&self) -> Result<Integer>
fn to_decimal(&self) -> Result<Decimal>
fn to_strings(&self) -> Result<String>
fn to_datetime(&self) -> Result<DateTime>
fn to_boolean(&self) -> Result<Boolean>
Source§impl Debug for ElementDefinitionTypeElement
impl Debug for ElementDefinitionTypeElement
Source§impl Default for ElementDefinitionTypeElement
impl Default for ElementDefinitionTypeElement
Source§fn default() -> ElementDefinitionTypeElement
fn default() -> ElementDefinitionTypeElement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ElementDefinitionTypeElement
impl<'de> Deserialize<'de> for ElementDefinitionTypeElement
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl Executor for ElementDefinitionTypeElement
impl Executor for ElementDefinitionTypeElement
fn element(&self, symbol: &String, index: &Option<usize>) -> Result<Collection>
fn to_collection(&self, index: &Option<usize>) -> Collection
fn child(&self, _index: usize) -> Result<Collection>
impl DataType for ElementDefinitionTypeElement
Auto Trait Implementations§
impl Freeze for ElementDefinitionTypeElement
impl RefUnwindSafe for ElementDefinitionTypeElement
impl Send for ElementDefinitionTypeElement
impl Sync for ElementDefinitionTypeElement
impl Unpin for ElementDefinitionTypeElement
impl UnwindSafe for ElementDefinitionTypeElement
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