Struct fhir_rs::datatype::complex::CodeableReference
source · pub struct CodeableReference {
pub id: Option<Id>,
pub extension: Option<Vec<Extension>>,
pub concept: Option<CodeableConcept>,
pub reference: Option<Reference>,
}
Fields§
§id: Option<Id>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
concept: Option<CodeableConcept>
Reference to a concept (by class)
reference: Option<Reference>
Reference to a resource (by instance)
Implementations§
source§impl CodeableReference
impl CodeableReference
pub fn set_concept(self, v: CodeableConcept) -> Self
pub fn set_reference(self, v: Reference) -> Self
Trait Implementations§
source§impl Clone for CodeableReference
impl Clone for CodeableReference
source§fn clone(&self) -> CodeableReference
fn clone(&self) -> CodeableReference
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 CodeableReference
impl Debug for CodeableReference
source§impl Default for CodeableReference
impl Default for CodeableReference
source§fn default() -> CodeableReference
fn default() -> CodeableReference
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CodeableReference
impl<'de> Deserialize<'de> for CodeableReference
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
source§impl Element for CodeableReference
impl Element for CodeableReference
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 CodeableReference
impl Serialize for CodeableReference
Auto Trait Implementations§
impl RefUnwindSafe for CodeableReference
impl Send for CodeableReference
impl Sync for CodeableReference
impl Unpin for CodeableReference
impl UnwindSafe for CodeableReference
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