pub struct BusinessOpeningHoursInterval {
pub start_minute: i32,
pub end_minute: i32,
}
Expand description
Describes an interval of time when the business is open
Fields§
§start_minute: i32
The minute’s sequence number in a week, starting on Monday, marking the start of the time interval during which the business is open; 0-72460
end_minute: i32
The minute’s sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 1-82460
Trait Implementations§
Source§impl Clone for BusinessOpeningHoursInterval
impl Clone for BusinessOpeningHoursInterval
Source§fn clone(&self) -> BusinessOpeningHoursInterval
fn clone(&self) -> BusinessOpeningHoursInterval
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 BusinessOpeningHoursInterval
impl Debug for BusinessOpeningHoursInterval
Source§impl Default for BusinessOpeningHoursInterval
impl Default for BusinessOpeningHoursInterval
Source§fn default() -> BusinessOpeningHoursInterval
fn default() -> BusinessOpeningHoursInterval
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BusinessOpeningHoursInterval
impl<'de> Deserialize<'de> for BusinessOpeningHoursInterval
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 BusinessOpeningHoursInterval
impl PartialEq for BusinessOpeningHoursInterval
Source§fn eq(&self, other: &BusinessOpeningHoursInterval) -> bool
fn eq(&self, other: &BusinessOpeningHoursInterval) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BusinessOpeningHoursInterval
Auto Trait Implementations§
impl Freeze for BusinessOpeningHoursInterval
impl RefUnwindSafe for BusinessOpeningHoursInterval
impl Send for BusinessOpeningHoursInterval
impl Sync for BusinessOpeningHoursInterval
impl Unpin for BusinessOpeningHoursInterval
impl UnwindSafe for BusinessOpeningHoursInterval
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