pub struct Coding {
pub id: Option<Id>,
pub extension: Option<Vec<Extension>>,
pub system: Option<UriDt>,
pub version: Option<StringDt>,
pub code: Option<CodeDt>,
pub display: Option<StringDt>,
pub user_selected: Option<BooleanDt>,
}
Fields§
§id: Option<Id>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
system: Option<UriDt>
Identity of the terminology system
version: Option<StringDt>
Version of the system - if relevant
code: Option<CodeDt>
Symbol in syntax defined by the system
display: Option<StringDt>
Representation defined by the system
user_selected: Option<BooleanDt>
If this coding was chosen directly by the user
Implementations§
source§impl Coding
impl Coding
pub fn set_system<T: Into<UriDt>>(self, v: T) -> Self
pub fn set_version<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_code<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_display<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_user_selected<T: Into<BooleanDt>>(self, v: T) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Coding
impl<'de> Deserialize<'de> for Coding
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
source§impl Element for Coding
impl Element for Coding
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
Auto Trait Implementations§
impl RefUnwindSafe for Coding
impl Send for Coding
impl Sync for Coding
impl Unpin for Coding
impl UnwindSafe for Coding
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