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<'de> Deserialize<'de> for Timing
impl<'de> Deserialize<'de> for Timing
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
source§impl Element for Timing
impl Element for Timing
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 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