Struct google_mybusiness4::api::TimePeriod
source · pub struct TimePeriod {
pub close_day: Option<String>,
pub close_time: Option<String>,
pub open_day: Option<String>,
pub open_time: Option<String>,
}
Expand description
Represents a span of time that the business is open, starting on the specified open day/time and closing on the specified close day/time. The closing time must occur after the opening time, for example later in the same day, or on a subsequent day.
This type is not used in any activity, and only used as part of another schema.
Fields§
§close_day: Option<String>
Indicates the day of the week this period ends on.
close_time: Option<String>
Time in 24hr ISO 8601 extended format (hh:mm). Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field.
open_day: Option<String>
Indicates the day of the week this period starts on.
open_time: Option<String>
Time in 24hr ISO 8601 extended format (hh:mm). Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field.
Trait Implementations§
source§impl Clone for TimePeriod
impl Clone for TimePeriod
source§fn clone(&self) -> TimePeriod
fn clone(&self) -> TimePeriod
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 TimePeriod
impl Debug for TimePeriod
source§impl Default for TimePeriod
impl Default for TimePeriod
source§fn default() -> TimePeriod
fn default() -> TimePeriod
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TimePeriod
impl<'de> Deserialize<'de> for TimePeriod
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 TimePeriod
impl Serialize for TimePeriod
impl Part for TimePeriod
Auto Trait Implementations§
impl RefUnwindSafe for TimePeriod
impl Send for TimePeriod
impl Sync for TimePeriod
impl Unpin for TimePeriod
impl UnwindSafe for TimePeriod
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