Struct mapsco_client::LocationData
source · pub struct LocationData {
pub place_id: i64,
pub licence: String,
pub osm_type: String,
pub osm_id: i64,
pub lat: f64,
pub lon: f64,
pub display_name: String,
pub address: Address,
pub boundingbox: Vec<String>,
}Fields§
§place_id: i64§licence: String§osm_type: String§osm_id: i64§lat: f64§lon: f64§display_name: String§address: Address§boundingbox: Vec<String>Trait Implementations§
source§impl Clone for LocationData
impl Clone for LocationData
source§fn clone(&self) -> LocationData
fn clone(&self) -> LocationData
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 LocationData
impl Debug for LocationData
source§impl<'de> Deserialize<'de> for LocationData
impl<'de> Deserialize<'de> for LocationData
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 LocationData
impl RefUnwindSafe for LocationData
impl Send for LocationData
impl Sync for LocationData
impl Unpin for LocationData
impl UnwindSafe for LocationData
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