pub struct AvailabilityNotAvailableTimeElement {
pub id: Option<String>,
pub extension: Option<Vec<Extension>>,
pub description: Option<StringDt>,
pub during: Option<Period>,
}
Fields§
§id: Option<String>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
description: Option<StringDt>
Reason presented to the user explaining why time not available
during: Option<Period>
Service not available during this period
Implementations§
Source§impl AvailabilityNotAvailableTimeElement
impl AvailabilityNotAvailableTimeElement
pub fn set_description<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_during(self, v: Period) -> Self
Trait Implementations§
Source§impl Clone for AvailabilityNotAvailableTimeElement
impl Clone for AvailabilityNotAvailableTimeElement
Source§fn clone(&self) -> AvailabilityNotAvailableTimeElement
fn clone(&self) -> AvailabilityNotAvailableTimeElement
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 AvailabilityNotAvailableTimeElement
impl Convert for AvailabilityNotAvailableTimeElement
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 AvailabilityNotAvailableTimeElement
impl Default for AvailabilityNotAvailableTimeElement
Source§fn default() -> AvailabilityNotAvailableTimeElement
fn default() -> AvailabilityNotAvailableTimeElement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AvailabilityNotAvailableTimeElement
impl<'de> Deserialize<'de> for AvailabilityNotAvailableTimeElement
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl Executor for AvailabilityNotAvailableTimeElement
impl Executor for AvailabilityNotAvailableTimeElement
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 AvailabilityNotAvailableTimeElement
Auto Trait Implementations§
impl Freeze for AvailabilityNotAvailableTimeElement
impl RefUnwindSafe for AvailabilityNotAvailableTimeElement
impl Send for AvailabilityNotAvailableTimeElement
impl Sync for AvailabilityNotAvailableTimeElement
impl Unpin for AvailabilityNotAvailableTimeElement
impl UnwindSafe for AvailabilityNotAvailableTimeElement
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