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 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 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 Element for AvailabilityNotAvailableTimeElement
impl Element for AvailabilityNotAvailableTimeElement
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 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