Struct google_jobs3::CommuteFilter [−][src]
pub struct CommuteFilter { pub start_coordinates: Option<LatLng>, pub departure_time: Option<TimeOfDay>, pub commute_method: Option<String>, pub allow_imprecise_addresses: Option<bool>, pub travel_duration: Option<String>, pub road_traffic: Option<String>, }
Input only.
Parameters needed for commute search.
This type is not used in any activity, and only used as part of another schema.
Fields
start_coordinates: Option<LatLng>
Required.
The latitude and longitude of the location from which to calculate the commute time.
departure_time: Option<TimeOfDay>
Optional.
The departure time used to calculate traffic impact, represented as .google.type.TimeOfDay in local time zone.
Currently traffic model is restricted to hour level resolution.
commute_method: Option<String>
Required.
The method of transportation for which to calculate the commute time.
allow_imprecise_addresses: Option<bool>
Optional.
If true
, jobs without street level addresses may also be returned.
For city level addresses, the city center is used. For state and coarser
level addresses, text matching is used.
If this field is set to false
or is not specified, only jobs that include
street level addresses will be returned by commute search.
travel_duration: Option<String>
Required.
The maximum travel time in seconds. The maximum allowed value is 3600s
(one hour). Format is 123s
.
road_traffic: Option<String>
Optional.
Specifies the traffic density to use when caculating commute time.
Trait Implementations
impl Default for CommuteFilter
[src]
impl Default for CommuteFilter
fn default() -> CommuteFilter
[src]
fn default() -> CommuteFilter
Returns the "default value" for a type. Read more
impl Clone for CommuteFilter
[src]
impl Clone for CommuteFilter
fn clone(&self) -> CommuteFilter
[src]
fn clone(&self) -> CommuteFilter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for CommuteFilter
[src]
impl Debug for CommuteFilter
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for CommuteFilter
[src]
impl Part for CommuteFilter
Auto Trait Implementations
impl Send for CommuteFilter
impl Send for CommuteFilter
impl Sync for CommuteFilter
impl Sync for CommuteFilter