pub struct Collection {Show 13 fields
pub collection_type: String,
pub stac_version: String,
pub id: String,
pub title: Option<String>,
pub description: String,
pub keywords: Option<Vec<String>>,
pub license: String,
pub providers: Option<Vec<Provider>>,
pub extent: Extent,
pub summaries: Option<HashMap<String, JsonValue>>,
pub links: Vec<Link>,
pub assets: Option<HashMap<String, Asset>>,
pub extra: HashMap<String, JsonValue>,
}Expand description
Represents a STAC Collection object.
See the STAC Collection Specification for details.
Fields§
§collection_type: StringThe type of the object, which is always “Collection”.
stac_version: StringThe STAC version the collection implements.
id: StringThe ID of the collection.
title: Option<String>A human-readable title for the collection.
description: StringA detailed description of the collection.
keywords: Option<Vec<String>>A list of keywords describing the collection.
license: StringThe license of the data in the collection.
providers: Option<Vec<Provider>>A list of providers for the collection.
extent: ExtentThe spatial and temporal extent of the collection.
summaries: Option<HashMap<String, JsonValue>>A map of summaries of item properties.
links: Vec<Link>A list of links to other STAC objects.
assets: Option<HashMap<String, Asset>>A map of assets available at the collection level.
extra: HashMap<String, JsonValue>Additional fields not part of the core specification.
Trait Implementations§
Source§impl Clone for Collection
impl Clone for Collection
Source§fn clone(&self) -> Collection
fn clone(&self) -> Collection
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 Collection
impl Debug for Collection
Source§impl<'de> Deserialize<'de> for Collection
impl<'de> Deserialize<'de> for Collection
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 Collection
impl RefUnwindSafe for Collection
impl Send for Collection
impl Sync for Collection
impl Unpin for Collection
impl UnwindSafe for Collection
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