pub struct GoogleLocation {
pub input: String,
pub place: GooglePlace,
}
Expand description
Representation of a Google autocomplete result
Fields§
§input: String
Input text
place: GooglePlace
Place returned by Google
Trait Implementations§
Source§impl Clone for GoogleLocation
impl Clone for GoogleLocation
Source§fn clone(&self) -> GoogleLocation
fn clone(&self) -> GoogleLocation
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 GoogleLocation
impl Debug for GoogleLocation
Source§impl<'de> Deserialize<'de> for GoogleLocation
impl<'de> Deserialize<'de> for GoogleLocation
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
Auto Trait Implementations§
impl Freeze for GoogleLocation
impl RefUnwindSafe for GoogleLocation
impl Send for GoogleLocation
impl Sync for GoogleLocation
impl Unpin for GoogleLocation
impl UnwindSafe for GoogleLocation
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