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 Convert for Coding
impl Convert for Coding
fn to_integer(&self) -> Result<Integer>
fn to_decimal(&self) -> Result<Decimal>
fn to_strings(&self) -> Result<String>
fn to_datetime(&self) -> Result<DateTime>
fn to_boolean(&self) -> Result<Boolean>
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 Executor for Coding
impl Executor for Coding
fn element(&self, symbol: &String, index: &Option<usize>) -> Result<Collection>
fn to_collection(&self, index: &Option<usize>) -> Collection
fn child(&self, _index: usize) -> Result<Collection>
impl DataType for Coding
Auto Trait Implementations§
impl Freeze for Coding
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