pub struct FindMatchingLocationsRequest {
pub language_code: Option<String>,
pub max_cache_duration: Option<Duration>,
pub num_results: Option<i32>,
}
Expand description
Request message for Locations.FindMatchingLocations.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations find matches accounts (request)
Fields§
§language_code: Option<String>
The preferred language for the matching location (in BCP-47 format).
max_cache_duration: Option<Duration>
Deprecated. This field is ignored for all requests.
num_results: Option<i32>
The number of matches to return. The default value is 3, with a maximum of 10. Note that latency may increase if more are requested. There is no pagination.
Trait Implementations§
source§impl Clone for FindMatchingLocationsRequest
impl Clone for FindMatchingLocationsRequest
source§fn clone(&self) -> FindMatchingLocationsRequest
fn clone(&self) -> FindMatchingLocationsRequest
Returns a copy 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 Debug for FindMatchingLocationsRequest
impl Debug for FindMatchingLocationsRequest
source§impl Default for FindMatchingLocationsRequest
impl Default for FindMatchingLocationsRequest
source§fn default() -> FindMatchingLocationsRequest
fn default() -> FindMatchingLocationsRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FindMatchingLocationsRequest
impl<'de> Deserialize<'de> for FindMatchingLocationsRequest
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 RequestValue for FindMatchingLocationsRequest
Auto Trait Implementations§
impl RefUnwindSafe for FindMatchingLocationsRequest
impl Send for FindMatchingLocationsRequest
impl Sync for FindMatchingLocationsRequest
impl Unpin for FindMatchingLocationsRequest
impl UnwindSafe for FindMatchingLocationsRequest
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