pub struct CityObject {
pub thetype: String,
pub geographical_extent: Option<Vec<f64>>,
pub attributes: Option<Value>,
pub geometry: Option<Vec<Geometry>>,
pub children: Option<Vec<String>>,
pub parents: Option<Vec<String>>,
/* private fields */
}Fields§
§thetype: String§geographical_extent: Option<Vec<f64>>§attributes: Option<Value>§geometry: Option<Vec<Geometry>>§children: Option<Vec<String>>§parents: Option<Vec<String>>Implementations§
Trait Implementations§
Source§impl Clone for CityObject
impl Clone for CityObject
Source§fn clone(&self) -> CityObject
fn clone(&self) -> CityObject
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 CityObject
impl Debug for CityObject
Source§impl<'de> Deserialize<'de> for CityObject
impl<'de> Deserialize<'de> for CityObject
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 CityObject
impl RefUnwindSafe for CityObject
impl Send for CityObject
impl Sync for CityObject
impl Unpin for CityObject
impl UnwindSafe for CityObject
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