Struct fhir_rs::datatype::complex::AvailabilityAvailableTimeElement
source · pub struct AvailabilityAvailableTimeElement {
pub id: Option<String>,
pub extension: Option<Vec<Extension>>,
pub days_of_week: Option<Vec<CodeDt>>,
pub all_day: Option<BooleanDt>,
pub available_start_time: Option<TimeDt>,
pub available_end_time: Option<TimeDt>,
}
Fields§
§id: Option<String>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
days_of_week: Option<Vec<CodeDt>>
mon | tue | wed | thu | fri | sat | sun
all_day: Option<BooleanDt>
Always available? i.e. 24 hour service
available_start_time: Option<TimeDt>
Opening time of day (ignored if allDay = true)
available_end_time: Option<TimeDt>
Closing time of day (ignored if allDay = true)
Implementations§
source§impl AvailabilityAvailableTimeElement
impl AvailabilityAvailableTimeElement
pub fn set_days_of_week(self, v: Vec<CodeDt>) -> Self
pub fn add_days_of_week<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_all_day<T: Into<BooleanDt>>(self, v: T) -> Self
pub fn set_available_start_time<T: Into<TimeDt>>(self, v: T) -> Self
pub fn set_available_end_time<T: Into<TimeDt>>(self, v: T) -> Self
Trait Implementations§
source§impl Clone for AvailabilityAvailableTimeElement
impl Clone for AvailabilityAvailableTimeElement
source§fn clone(&self) -> AvailabilityAvailableTimeElement
fn clone(&self) -> AvailabilityAvailableTimeElement
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 Default for AvailabilityAvailableTimeElement
impl Default for AvailabilityAvailableTimeElement
source§fn default() -> AvailabilityAvailableTimeElement
fn default() -> AvailabilityAvailableTimeElement
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AvailabilityAvailableTimeElement
impl<'de> Deserialize<'de> for AvailabilityAvailableTimeElement
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
source§impl Element for AvailabilityAvailableTimeElement
impl Element for AvailabilityAvailableTimeElement
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 AvailabilityAvailableTimeElement
impl Send for AvailabilityAvailableTimeElement
impl Sync for AvailabilityAvailableTimeElement
impl Unpin for AvailabilityAvailableTimeElement
impl UnwindSafe for AvailabilityAvailableTimeElement
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