Struct foursquare::venue::SuggestOptionsBuilder [] [src]

pub struct SuggestOptionsBuilder { /* fields omitted */ }

Builder for SuggestOptions.

Methods

impl SuggestOptionsBuilder
[src]

[src]

required Latitude and longitude of the user’s location. (Required for query searches)

[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. Adds a geocode object to the response. (Required for query searches)

[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]

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]

[src]

Builds a new SuggestOptions.

Errors

If a required field has not been initialized.

Trait Implementations

impl Default for SuggestOptionsBuilder
[src]

[src]

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

impl Clone for SuggestOptionsBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more