pub struct GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters {
pub polyline: Option<GoogleMapsPlacesV1Polyline>,
}Expand description
Specifies a precalculated polyline from the Routes API defining the route to search. Searching along a route is similar to using the locationBias or locationRestriction request option to bias the search results. However, while the locationBias and locationRestriction options let you specify a region to bias the search results, this option lets you bias the results along a trip route. Results are not guaranteed to be along the route provided, but rather are ranked within the search area defined by the polyline and, optionally, by the locationBias or locationRestriction based on minimal detour times from origin to destination. The results might be along an alternate route, especially if the provided polyline does not define an optimal route from origin to destination.
This type is not used in any activity, and only used as part of another schema.
Fields§
§polyline: Option<GoogleMapsPlacesV1Polyline>Required. The route polyline.
Trait Implementations§
Source§impl Clone for GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters
impl Clone for GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters
Source§fn clone(&self) -> GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters
fn clone(&self) -> GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more