pub struct MolecularSequence {Show 18 fields
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 identifier: Option<Vec<Identifier>>,
pub type_: Option<CodeDt>,
pub subject: Option<Reference>,
pub focus: Option<Vec<Reference>>,
pub specimen: Option<Reference>,
pub device: Option<Reference>,
pub performer: Option<Reference>,
pub literal: Option<StringDt>,
pub formatted: Option<Vec<Attachment>>,
pub relative: Option<Vec<MolecularSequenceRelativeBackboneElement>>,
}
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
identifier: Option<Vec<Identifier>>
Unique ID for this particular sequence
type_: Option<CodeDt>
aa | dna | rna
subject: Option<Reference>
Subject this sequence is associated too
focus: Option<Vec<Reference>>
What the molecular sequence is about, when it is not about the subject of record
specimen: Option<Reference>
Specimen used for sequencing
device: Option<Reference>
The method for sequencing
performer: Option<Reference>
Who should be responsible for test result
literal: Option<StringDt>
Sequence that was observed
formatted: Option<Vec<Attachment>>
Embedded file or a link (URL) which contains content to represent the sequence
relative: Option<Vec<MolecularSequenceRelativeBackboneElement>>
A sequence defined relative to another sequence
Implementations§
Source§impl MolecularSequence
impl MolecularSequence
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_type_<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_subject(self, v: Reference) -> Self
pub fn set_focus(self, v: Vec<Reference>) -> Self
pub fn add_focus(self, v: Reference) -> Self
pub fn set_specimen(self, v: Reference) -> Self
pub fn set_device(self, v: Reference) -> Self
pub fn set_performer(self, v: Reference) -> Self
pub fn set_literal<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_formatted(self, v: Vec<Attachment>) -> Self
pub fn add_formatted(self, v: Attachment) -> Self
pub fn set_relative( self, v: Vec<MolecularSequenceRelativeBackboneElement>, ) -> Self
pub fn add_relative(self, v: MolecularSequenceRelativeBackboneElement) -> Self
Trait Implementations§
Source§impl Clone for MolecularSequence
impl Clone for MolecularSequence
Source§fn clone(&self) -> MolecularSequence
fn clone(&self) -> MolecularSequence
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 MolecularSequence
impl Debug for MolecularSequence
Source§impl Default for MolecularSequence
impl Default for MolecularSequence
Source§fn default() -> MolecularSequence
fn default() -> MolecularSequence
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MolecularSequence
impl<'de> Deserialize<'de> for MolecularSequence
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl DomainResource for MolecularSequence
impl DomainResource for MolecularSequence
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 Resource for MolecularSequence
impl Resource for MolecularSequence
Source§impl Serialize for MolecularSequence
impl Serialize for MolecularSequence
Auto Trait Implementations§
impl Freeze for MolecularSequence
impl RefUnwindSafe for MolecularSequence
impl Send for MolecularSequence
impl Sync for MolecularSequence
impl Unpin for MolecularSequence
impl UnwindSafe for MolecularSequence
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