pub enum CityJSONType {
CityJSON,
}Expand description
The type member of a CityJSON object. The spec fixes its value to
the single string "CityJSON" (§ 1 CityJSON Object); unlike City Object
and semantic-surface types, CityJSON does not define an Extension
document type, so there is no Extension variant here – a document
declaring any other type value fails to deserialize.
Variants§
CityJSON
Trait Implementations§
Source§impl Clone for CityJSONType
impl Clone for CityJSONType
Source§fn clone(&self) -> CityJSONType
fn clone(&self) -> CityJSONType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CityJSONType
impl Debug for CityJSONType
Source§impl<'de> Deserialize<'de> for CityJSONType
impl<'de> Deserialize<'de> for CityJSONType
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
impl Eq for CityJSONType
Source§impl Hash for CityJSONType
impl Hash for CityJSONType
Source§impl PartialEq for CityJSONType
impl PartialEq for CityJSONType
Source§impl Serialize for CityJSONType
impl Serialize for CityJSONType
impl StructuralPartialEq for CityJSONType
Auto Trait Implementations§
impl Freeze for CityJSONType
impl RefUnwindSafe for CityJSONType
impl Send for CityJSONType
impl Sync for CityJSONType
impl Unpin for CityJSONType
impl UnsafeUnpin for CityJSONType
impl UnwindSafe for CityJSONType
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