pub struct OperatingHours {
pub closing_time: Option<Box<TimeOfDay>>,
pub opening_time: Option<Box<TimeOfDay>>,
pub mid_day_closures: Option<Vec<TimeOfDay>>,
}Expand description
OperatingHours : The hours in which the access point shall remain operational
Fields§
§closing_time: Option<Box<TimeOfDay>>§opening_time: Option<Box<TimeOfDay>>§mid_day_closures: Option<Vec<TimeOfDay>>midDayClosures operating hours array
Implementations§
Source§impl OperatingHours
impl OperatingHours
Sourcepub fn new() -> OperatingHours
pub fn new() -> OperatingHours
The hours in which the access point shall remain operational
Trait Implementations§
Source§impl Clone for OperatingHours
impl Clone for OperatingHours
Source§fn clone(&self) -> OperatingHours
fn clone(&self) -> OperatingHours
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 Debug for OperatingHours
impl Debug for OperatingHours
Source§impl Default for OperatingHours
impl Default for OperatingHours
Source§fn default() -> OperatingHours
fn default() -> OperatingHours
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperatingHours
impl<'de> Deserialize<'de> for OperatingHours
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OperatingHours
impl PartialEq for OperatingHours
Source§impl Serialize for OperatingHours
impl Serialize for OperatingHours
impl StructuralPartialEq for OperatingHours
Auto Trait Implementations§
impl Freeze for OperatingHours
impl RefUnwindSafe for OperatingHours
impl Send for OperatingHours
impl Sync for OperatingHours
impl Unpin for OperatingHours
impl UnwindSafe for OperatingHours
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