Struct foursquare::venue::SearchOptionsBuilder [] [src]

pub struct SearchOptionsBuilder { /* fields omitted */ }

Builder for SearchOptions.

Methods

impl SearchOptionsBuilder
[src]

[src]

required unless near is provided. Latitude and longitude of the user’s location. Optional if using intent=global

[src]

required unless ll is provided. A string naming a place in the world. If the near string is not geocodable, returns a failed_geocode error. Otherwise, searches within the bounds of the geocode and adds a geocode object to the response.

[src]

One of the values below, indicating your intent in performing the search. If no value is specified, defaults to checkin.

[src]

Limit results to venues within this many meters of the specified location. Defaults to a city-wide area. Only valid for requests with intent=browse, or requests with intent=checkin and categoryId or query. Does not apply to intent=match requests. The maximum supported radius is currently 100,000 meters.

[src]

With ne, limits results to the bounding box defined by the latitude and longitude given by sw as its south-west corner, and ne as its north-east corner. The bounding box is only supported for intent=browse searches. Not valid with ll or radius. Bounding boxes with an area up to approximately 10,000 square kilometers are supported.

[src]

See sw.

[src]

A search term to be applied against venue names.

[src]

Number of results to return, up to 50.

[src]

A comma separated list of categories to limit results to. If you specify categoryId. specifying a radius may improve results. If specifying a top-level category, all sub-categories will also match the query. Does not apply to intent=match requests.

[src]

Accuracy of latitude and longitude, in meters.

[src]

Altitude of the user’s location, in meters.

[src]

Accuracy of the user’s altitude, in meters.

[src]

A third-party URL which we will attempt to match against our map of venues to URLs.

[src]

Identifier for a known third party that is part of our map of venues to URLs, used in conjunction with linkedId.

[src]

Identifier used by third party specified in providerId, which we will attempt to match against our map of venues to URLs.

[src]

[src]

Builds a new SearchOptions.

Errors

If a required field has not been initialized.

Trait Implementations

impl Default for SearchOptionsBuilder
[src]

[src]

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

impl Clone for SearchOptionsBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more