Struct fhir_rs::datatype::complex::BackboneType
source · pub struct BackboneType {
pub id: Option<Id>,
pub extension: Option<Vec<Extension>>,
pub modifier_extension: Option<Vec<Extension>>,
}
Fields§
§id: Option<Id>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
modifier_extension: Option<Vec<Extension>>
Extensions that cannot be ignored even if unrecognized
Implementations§
source§impl BackboneType
impl BackboneType
pub fn set_modifier_extension(self, v: Vec<Extension>) -> Self
pub fn add_modifier_extension(self, v: Extension) -> Self
Trait Implementations§
source§impl Clone for BackboneType
impl Clone for BackboneType
source§fn clone(&self) -> BackboneType
fn clone(&self) -> BackboneType
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 BackboneType
impl Debug for BackboneType
source§impl Default for BackboneType
impl Default for BackboneType
source§fn default() -> BackboneType
fn default() -> BackboneType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BackboneType
impl<'de> Deserialize<'de> for BackboneType
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
source§impl Element for BackboneType
impl Element for BackboneType
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 BackboneType
impl Serialize for BackboneType
Auto Trait Implementations§
impl RefUnwindSafe for BackboneType
impl Send for BackboneType
impl Sync for BackboneType
impl Unpin for BackboneType
impl UnwindSafe for BackboneType
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