Struct raw_map::RawBuilding
source · pub struct RawBuilding {
pub polygon: Polygon,
pub osm_tags: Tags,
pub public_garage_name: Option<String>,
pub num_parking_spots: usize,
pub amenities: Vec<Amenity>,
}
Fields§
§polygon: Polygon
§public_garage_name: Option<String>
§num_parking_spots: usize
§amenities: Vec<Amenity>
Trait Implementations§
source§impl Clone for RawBuilding
impl Clone for RawBuilding
source§fn clone(&self) -> RawBuilding
fn clone(&self) -> RawBuilding
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 RawBuilding
impl Debug for RawBuilding
source§impl<'de> Deserialize<'de> for RawBuilding
impl<'de> Deserialize<'de> for RawBuilding
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 RawBuilding
impl RefUnwindSafe for RawBuilding
impl Send for RawBuilding
impl Sync for RawBuilding
impl Unpin for RawBuilding
impl UnwindSafe for RawBuilding
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