pub struct ApproximateLocation {
pub type: String,
pub country: Option<ApproximateLocation_Country>,
pub region: Option<ApproximateLocation_Region>,
pub city: Option<ApproximateLocation_City>,
pub timezone: Option<ApproximateLocation_Timezone>,
}
Fields§
§type: String
The type of location approximation.
country: Option<ApproximateLocation_Country>
§region: Option<ApproximateLocation_Region>
§city: Option<ApproximateLocation_City>
§timezone: Option<ApproximateLocation_Timezone>
Trait Implementations§
Source§impl Clone for ApproximateLocation
impl Clone for ApproximateLocation
Source§fn clone(&self) -> ApproximateLocation
fn clone(&self) -> ApproximateLocation
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 ApproximateLocation
impl Debug for ApproximateLocation
Source§impl Default for ApproximateLocation
impl Default for ApproximateLocation
Source§fn default() -> ApproximateLocation
fn default() -> ApproximateLocation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApproximateLocation
impl RefUnwindSafe for ApproximateLocation
impl Send for ApproximateLocation
impl Sync for ApproximateLocation
impl Unpin for ApproximateLocation
impl UnwindSafe for ApproximateLocation
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