Struct google_mybusiness4::api::TimeDimension
source · pub struct TimeDimension {
pub day_of_week: Option<String>,
pub time_of_day: Option<TimeOfDay>,
pub time_range: Option<TimeRange>,
}
Expand description
The dimension for which data is divided over.
This type is not used in any activity, and only used as part of another schema.
Fields§
§day_of_week: Option<String>
The day of the week (“MONDAY” to “SUNDAY”) this value corresponds to. Set for BREAKDOWN_DAY_OF_WEEK option.
time_of_day: Option<TimeOfDay>
The hour of the day (0 to 23) this value corresponds to. Set for BREAKDOWN_HOUR_OF_DAY option.
time_range: Option<TimeRange>
The range of time this value covers. Set for AGGREGATED_TOTAL and AGGREGATED_DAILY options.
Trait Implementations§
source§impl Clone for TimeDimension
impl Clone for TimeDimension
source§fn clone(&self) -> TimeDimension
fn clone(&self) -> TimeDimension
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 TimeDimension
impl Debug for TimeDimension
source§impl Default for TimeDimension
impl Default for TimeDimension
source§fn default() -> TimeDimension
fn default() -> TimeDimension
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TimeDimension
impl<'de> Deserialize<'de> for TimeDimension
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 TimeDimension
impl Serialize for TimeDimension
impl Part for TimeDimension
Auto Trait Implementations§
impl RefUnwindSafe for TimeDimension
impl Send for TimeDimension
impl Sync for TimeDimension
impl Unpin for TimeDimension
impl UnwindSafe for TimeDimension
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