Struct google_mybusiness4::api::BusinessHours
source · pub struct BusinessHours {
pub periods: Option<Vec<TimePeriod>>,
}
Expand description
Represents the time periods that this location is open for business. Holds a collection of TimePeriod instances.
This type is not used in any activity, and only used as part of another schema.
Fields§
§periods: Option<Vec<TimePeriod>>
A collection of times that this location is open for business. Each period represents a range of hours when the location is open during the week.
Trait Implementations§
source§impl Clone for BusinessHours
impl Clone for BusinessHours
source§fn clone(&self) -> BusinessHours
fn clone(&self) -> BusinessHours
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 Debug for BusinessHours
impl Debug for BusinessHours
source§impl Default for BusinessHours
impl Default for BusinessHours
source§fn default() -> BusinessHours
fn default() -> BusinessHours
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BusinessHours
impl<'de> Deserialize<'de> for BusinessHours
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 Serialize for BusinessHours
impl Serialize for BusinessHours
impl Part for BusinessHours
Auto Trait Implementations§
impl RefUnwindSafe for BusinessHours
impl Send for BusinessHours
impl Sync for BusinessHours
impl Unpin for BusinessHours
impl UnwindSafe for BusinessHours
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