pub struct SearchResult {
pub url: String,
pub results: Vec<Place>,
}Expand description
Represents the result of a location search, either via reverse_geocode or search.
Fields§
§url: StringThe full URL used to pull the result list. This can be fed to the _url version of your
original call to avoid having to fill out the argument list again.
results: Vec<Place>The list of results from the search.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SearchResult
impl<'de> Deserialize<'de> for SearchResult
Source§fn deserialize<D>(deser: D) -> Result<SearchResult, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deser: D) -> Result<SearchResult, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SearchResult
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin for SearchResult
impl UnwindSafe for SearchResult
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