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 duplicate 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 Convert for AvailabilityAvailableTimeElement
impl Convert for AvailabilityAvailableTimeElement
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 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 Executor for AvailabilityAvailableTimeElement
impl Executor for AvailabilityAvailableTimeElement
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 AvailabilityAvailableTimeElement
Auto Trait Implementations§
impl Freeze for AvailabilityAvailableTimeElement
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