pub struct ApproximateUserLocation {
pub type: UserLocationType,
pub approximate: WebSearchUserLocation,
}Fields§
§type: UserLocationType§approximate: WebSearchUserLocationApproximate location parameters for the search.
Trait Implementations§
Source§impl Clone for ApproximateUserLocation
impl Clone for ApproximateUserLocation
Source§fn clone(&self) -> ApproximateUserLocation
fn clone(&self) -> ApproximateUserLocation
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 Debug for ApproximateUserLocation
impl Debug for ApproximateUserLocation
Source§impl<'de> Deserialize<'de> for ApproximateUserLocation
impl<'de> Deserialize<'de> for ApproximateUserLocation
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
Source§impl PartialEq for ApproximateUserLocation
impl PartialEq for ApproximateUserLocation
Source§impl Serialize for ApproximateUserLocation
impl Serialize for ApproximateUserLocation
impl StructuralPartialEq for ApproximateUserLocation
Auto Trait Implementations§
impl Freeze for ApproximateUserLocation
impl RefUnwindSafe for ApproximateUserLocation
impl Send for ApproximateUserLocation
impl Sync for ApproximateUserLocation
impl Unpin for ApproximateUserLocation
impl UnwindSafe for ApproximateUserLocation
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