pub struct SubstanceReferenceInformation {
pub id: Option<Id>,
pub meta: Option<Meta>,
pub implicit_rules: Option<UriDt>,
pub language: Option<CodeDt>,
pub text: Option<Narrative>,
pub contained: Option<Vec<AnyResource>>,
pub extension: Option<Vec<Extension>>,
pub modifier_extension: Option<Vec<Extension>>,
pub comment: Option<StringDt>,
pub gene: Option<Vec<SubstanceReferenceInformationGeneBackboneElement>>,
pub gene_element: Option<Vec<SubstanceReferenceInformationGeneElementBackboneElement>>,
pub target: Option<Vec<SubstanceReferenceInformationTargetBackboneElement>>,
}
Fields§
§id: Option<Id>
Logical id of this artifact
meta: Option<Meta>
Metadata about the resource
implicit_rules: Option<UriDt>
A set of rules under which this content was created
language: Option<CodeDt>
Language of the resource content
text: Option<Narrative>
Text summary of the resource, for human interpretation
contained: Option<Vec<AnyResource>>
Contained, inline Resources
extension: Option<Vec<Extension>>
Additional content defined by implementations
modifier_extension: Option<Vec<Extension>>
Extensions that cannot be ignored
comment: Option<StringDt>
Todo
gene: Option<Vec<SubstanceReferenceInformationGeneBackboneElement>>
Todo
gene_element: Option<Vec<SubstanceReferenceInformationGeneElementBackboneElement>>
Todo
target: Option<Vec<SubstanceReferenceInformationTargetBackboneElement>>
Todo
Implementations§
Source§impl SubstanceReferenceInformation
impl SubstanceReferenceInformation
pub fn set_comment<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_gene( self, v: Vec<SubstanceReferenceInformationGeneBackboneElement>, ) -> Self
pub fn add_gene( self, v: SubstanceReferenceInformationGeneBackboneElement, ) -> Self
pub fn set_gene_element( self, v: Vec<SubstanceReferenceInformationGeneElementBackboneElement>, ) -> Self
pub fn add_gene_element( self, v: SubstanceReferenceInformationGeneElementBackboneElement, ) -> Self
pub fn set_target( self, v: Vec<SubstanceReferenceInformationTargetBackboneElement>, ) -> Self
pub fn add_target( self, v: SubstanceReferenceInformationTargetBackboneElement, ) -> Self
Trait Implementations§
Source§impl Clone for SubstanceReferenceInformation
impl Clone for SubstanceReferenceInformation
Source§fn clone(&self) -> SubstanceReferenceInformation
fn clone(&self) -> SubstanceReferenceInformation
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 SubstanceReferenceInformation
impl Convert for SubstanceReferenceInformation
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 Default for SubstanceReferenceInformation
impl Default for SubstanceReferenceInformation
Source§fn default() -> SubstanceReferenceInformation
fn default() -> SubstanceReferenceInformation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubstanceReferenceInformation
impl<'de> Deserialize<'de> for SubstanceReferenceInformation
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl DomainResource for SubstanceReferenceInformation
impl DomainResource for SubstanceReferenceInformation
fn extension(&self) -> &Option<Vec<Extension>>
fn set_extension(self, ext: Vec<Extension>) -> Self
fn add_extension(self, ext: Extension) -> Self
fn modifier_extension(&self) -> &Option<Vec<Extension>>
fn set_modifier_extension(self, ext: Vec<Extension>) -> Self
fn add_modifier_extension(self, ext: Extension) -> Self
Source§impl Executor for SubstanceReferenceInformation
impl Executor for SubstanceReferenceInformation
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>
Auto Trait Implementations§
impl Freeze for SubstanceReferenceInformation
impl RefUnwindSafe for SubstanceReferenceInformation
impl Send for SubstanceReferenceInformation
impl Sync for SubstanceReferenceInformation
impl Unpin for SubstanceReferenceInformation
impl UnwindSafe for SubstanceReferenceInformation
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