pub struct Timing {
pub id: Option<Id>,
pub extension: Option<Vec<Extension>>,
pub modifier_extension: Option<Vec<Extension>>,
pub event: Option<Vec<DateTimeDt>>,
pub repeat: Option<TimingRepeatElement>,
pub code: Option<CodeableConcept>,
}
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
event: Option<Vec<DateTimeDt>>
When the event occurs
repeat: Option<TimingRepeatElement>
When the event is to occur
code: Option<CodeableConcept>
C | BID | TID | QID | AM | PM | QD | QOD | +
Implementations§
Source§impl Timing
impl Timing
pub fn set_modifier_extension(self, v: Vec<Extension>) -> Self
pub fn add_modifier_extension(self, v: Extension) -> Self
pub fn set_event(self, v: Vec<DateTimeDt>) -> Self
pub fn add_event<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_repeat(self, v: TimingRepeatElement) -> Self
pub fn set_code(self, v: CodeableConcept) -> Self
Trait Implementations§
Source§impl Convert for Timing
impl Convert for Timing
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 Timing
impl<'de> Deserialize<'de> for Timing
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl Executor for Timing
impl Executor for Timing
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 Timing
Auto Trait Implementations§
impl Freeze for Timing
impl RefUnwindSafe for Timing
impl Send for Timing
impl Sync for Timing
impl Unpin for Timing
impl UnwindSafe for Timing
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