[][src]Struct google_playablelocations3::GoogleMapsPlayablelocationsV3SampleFilter

pub struct GoogleMapsPlayablelocationsV3SampleFilter {
    pub max_location_count: Option<i32>,
    pub spacing: Option<GoogleMapsPlayablelocationsV3SampleSpacingOptions>,
    pub included_types: Option<Vec<String>>,
}

Specifies the filters to use when searching for playable locations.

This type is not used in any activity, and only used as part of another schema.

Fields

max_location_count: Option<i32>

Specifies the maximum number of playable locations to return. This value must not be greater than 1000. The default value is 100.

Only the top-ranking playable locations are returned.

spacing: Option<GoogleMapsPlayablelocationsV3SampleSpacingOptions>

A set of options that control the spacing between playable locations. By default the minimum distance between locations is 200m.

included_types: Option<Vec<String>>

Restricts the set of playable locations to just the types that you want.

Trait Implementations

impl Clone for GoogleMapsPlayablelocationsV3SampleFilter[src]

impl Debug for GoogleMapsPlayablelocationsV3SampleFilter[src]

impl Default for GoogleMapsPlayablelocationsV3SampleFilter[src]

impl<'de> Deserialize<'de> for GoogleMapsPlayablelocationsV3SampleFilter[src]

impl Part for GoogleMapsPlayablelocationsV3SampleFilter[src]

impl Serialize for GoogleMapsPlayablelocationsV3SampleFilter[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any