pub struct GeospatialData {
Show 23 fields pub title_description_keywords: TitleDescriptionKeywords, pub id: String, pub data_type: DataType, pub geometry_dimension: Option<GeometryDimension>, pub feature_type: Option<String>, pub point_of_contact: Option<String>, pub publisher: Option<String>, pub theme: Option<String>, pub crs: Option<Crs>, pub epoch: Option<f64>, pub min_scale_denominator: Option<f64>, pub max_scale_denominator: Option<f64>, pub min_cell_size: Option<f64>, pub max_cell_size: Option<f64>, pub max_tile_matrix: Option<String>, pub min_tile_matrix: Option<String>, pub bounding_box: Option<BoundingBox2D>, pub created: Option<DateTime<Utc>>, pub updated: Option<DateTime<Utc>>, pub style: Option<Style>, pub geo_data_classes: Option<Vec<String>>, pub properties_schema: Option<Value>, pub links: Option<Links>,
}

Fields§

§title_description_keywords: TitleDescriptionKeywords§id: String

Unique identifier of the Layer. Implemetion of ‘identifier’

§data_type: DataType

Type of data represented in the layer

§geometry_dimension: Option<GeometryDimension>

The geometry type of the features shown in this layer

§feature_type: Option<String>

Feature type identifier. Only applicable to layers of datatype ‘geometries’

§point_of_contact: Option<String>

Useful information to contact the authors or custodians for the layer (e.g. e-mail address, a physical address, phone numbers, etc)

§publisher: Option<String>

Organization or individual responsible for making the layer available

§theme: Option<String>

Category where the layer can be grouped

§crs: Option<Crs>

Coordinate Reference System (CRS)

§epoch: Option<f64>

Epoch of the Coordinate Reference System (CRS)

§min_scale_denominator: Option<f64>

Minimum scale denominator for usage of the layer

§max_scale_denominator: Option<f64>

aximum scale denominator for usage of the layer

§min_cell_size: Option<f64>

Minimum cell size for usage of the layer

§max_cell_size: Option<f64>

Maximum cell size for usage of the layer

§max_tile_matrix: Option<String>

TileMatrix identifier associated with the minScaleDenominator

§min_tile_matrix: Option<String>

TileMatrix identifier associated with the maxScaleDenominator

§bounding_box: Option<BoundingBox2D>

Minimum bounding rectangle surrounding the layer

§created: Option<DateTime<Utc>>

When the layer was first produced

§updated: Option<DateTime<Utc>>

Last layer change/revision

§style: Option<Style>

Style used to generate the layer in the tileset

§geo_data_classes: Option<Vec<String>>

URI identifying a class of data contained in this layer (useful to determine compatibility with styles or processes)

§properties_schema: Option<Value>

Properties represented by the features in this layer. Can be the attributes of a feature dataset (datatype=geometries) or the rangeType of a coverage (datatype=coverage)

§links: Option<Links>

Links related to this layer. Possible link ‘rel’ values are: ‘geodata’ for a URL pointing to the collection of geospatial data.

Trait Implementations§

source§

impl<'de> Deserialize<'de> for GeospatialData

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for GeospatialData

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,