pub struct OperatingHour {
pub start_time: Option<String>,
pub end_time: Option<String>,
}Expand description
OperatingHour : The operating hour schema
Fields§
§start_time: Option<String>The opening time, ISO 8601 formatted timestamp without date, HH:mm.
end_time: Option<String>The closing time, ISO 8601 formatted timestamp without date, HH:mm.
Implementations§
Source§impl OperatingHour
impl OperatingHour
Sourcepub fn new() -> OperatingHour
pub fn new() -> OperatingHour
The operating hour schema
Trait Implementations§
Source§impl Clone for OperatingHour
impl Clone for OperatingHour
Source§fn clone(&self) -> OperatingHour
fn clone(&self) -> OperatingHour
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 OperatingHour
impl Debug for OperatingHour
Source§impl Default for OperatingHour
impl Default for OperatingHour
Source§fn default() -> OperatingHour
fn default() -> OperatingHour
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperatingHour
impl<'de> Deserialize<'de> for OperatingHour
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 OperatingHour
impl PartialEq for OperatingHour
Source§impl Serialize for OperatingHour
impl Serialize for OperatingHour
impl StructuralPartialEq for OperatingHour
Auto Trait Implementations§
impl Freeze for OperatingHour
impl RefUnwindSafe for OperatingHour
impl Send for OperatingHour
impl Sync for OperatingHour
impl Unpin for OperatingHour
impl UnwindSafe for OperatingHour
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