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

Required.

The latitude and longitude of the location from which to calculate the commute time.

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.

Required.

The method of transportation for which to calculate the commute time.

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.

Required.

The maximum travel time in seconds. The maximum allowed value is 3600s (one hour). Format is 123s.

Optional.

Specifies the traffic density to use when caculating commute time.

Trait Implementations

impl Default for CommuteFilter
[src]

Returns the "default value" for a type. Read more

impl Clone for CommuteFilter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CommuteFilter
[src]

Formats the value using the given formatter. Read more

impl Part for CommuteFilter
[src]

Auto Trait Implementations