Struct fhir_rs::datatype::complex::CodeableConcept
source · pub struct CodeableConcept {
pub id: Option<Id>,
pub extension: Option<Vec<Extension>>,
pub coding: Option<Vec<Coding>>,
pub text: Option<StringDt>,
}
Fields§
§id: Option<Id>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
coding: Option<Vec<Coding>>
Code defined by a terminology system
text: Option<StringDt>
Plain text representation of the concept
Implementations§
Trait Implementations§
source§impl Clone for CodeableConcept
impl Clone for CodeableConcept
source§fn clone(&self) -> CodeableConcept
fn clone(&self) -> CodeableConcept
Returns a copy 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 CodeableConcept
impl Debug for CodeableConcept
source§impl Default for CodeableConcept
impl Default for CodeableConcept
source§fn default() -> CodeableConcept
fn default() -> CodeableConcept
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CodeableConcept
impl<'de> Deserialize<'de> for CodeableConcept
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
source§impl Element for CodeableConcept
impl Element for CodeableConcept
fn has_id(&self) -> bool
fn id(&self) -> &Option<String>
fn set_id<T: Into<String>>(self, id: T) -> Self
fn has_extension(&self) -> bool
fn extension(&self) -> &Option<Vec<Extension>>
fn set_extension(self, ext: Vec<Extension>) -> Self
fn add_extension(self, ext: Extension) -> Self
source§impl Serialize for CodeableConcept
impl Serialize for CodeableConcept
Auto Trait Implementations§
impl RefUnwindSafe for CodeableConcept
impl Send for CodeableConcept
impl Sync for CodeableConcept
impl Unpin for CodeableConcept
impl UnwindSafe for CodeableConcept
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