pub struct GoogleMapsPlayablelocationsV3SampleFilter {
pub included_types: Option<Vec<String>>,
pub max_location_count: Option<i32>,
pub spacing: Option<GoogleMapsPlayablelocationsV3SampleSpacingOptions>,
}Expand description
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§
§included_types: Option<Vec<String>>Restricts the set of playable locations to just the types that you want.
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.
Trait Implementations§
Source§impl Clone for GoogleMapsPlayablelocationsV3SampleFilter
impl Clone for GoogleMapsPlayablelocationsV3SampleFilter
Source§fn clone(&self) -> GoogleMapsPlayablelocationsV3SampleFilter
fn clone(&self) -> GoogleMapsPlayablelocationsV3SampleFilter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GoogleMapsPlayablelocationsV3SampleFilter
impl Default for GoogleMapsPlayablelocationsV3SampleFilter
Source§fn default() -> GoogleMapsPlayablelocationsV3SampleFilter
fn default() -> GoogleMapsPlayablelocationsV3SampleFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleMapsPlayablelocationsV3SampleFilter
impl<'de> Deserialize<'de> for GoogleMapsPlayablelocationsV3SampleFilter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleMapsPlayablelocationsV3SampleFilter
Auto Trait Implementations§
impl Freeze for GoogleMapsPlayablelocationsV3SampleFilter
impl RefUnwindSafe for GoogleMapsPlayablelocationsV3SampleFilter
impl Send for GoogleMapsPlayablelocationsV3SampleFilter
impl Sync for GoogleMapsPlayablelocationsV3SampleFilter
impl Unpin for GoogleMapsPlayablelocationsV3SampleFilter
impl UnwindSafe for GoogleMapsPlayablelocationsV3SampleFilter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more