pub struct LocationDrivingDirectionMetrics {
pub location_name: Option<String>,
pub time_zone: Option<String>,
pub top_direction_sources: Option<Vec<TopDirectionSources>>,
}
Expand description
A location indexed with the regions that people usually come from. This is captured by counting how many driving-direction requests to this location are from each region.
This type is not used in any activity, and only used as part of another schema.
Fields§
§location_name: Option<String>
The location resource name this metric value belongs to.
time_zone: Option<String>
Time zone (IANA timezone IDs, for example, ‘Europe/London’) of the location.
top_direction_sources: Option<Vec<TopDirectionSources>>
Driving-direction requests by source region. By convention, these are sorted by count with at most 10 results.
Trait Implementations§
source§impl Clone for LocationDrivingDirectionMetrics
impl Clone for LocationDrivingDirectionMetrics
source§fn clone(&self) -> LocationDrivingDirectionMetrics
fn clone(&self) -> LocationDrivingDirectionMetrics
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 Default for LocationDrivingDirectionMetrics
impl Default for LocationDrivingDirectionMetrics
source§fn default() -> LocationDrivingDirectionMetrics
fn default() -> LocationDrivingDirectionMetrics
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LocationDrivingDirectionMetrics
impl<'de> Deserialize<'de> for LocationDrivingDirectionMetrics
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
impl Part for LocationDrivingDirectionMetrics
Auto Trait Implementations§
impl RefUnwindSafe for LocationDrivingDirectionMetrics
impl Send for LocationDrivingDirectionMetrics
impl Sync for LocationDrivingDirectionMetrics
impl Unpin for LocationDrivingDirectionMetrics
impl UnwindSafe for LocationDrivingDirectionMetrics
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