Struct stac_api::Collections
source · pub struct Collections {
pub collections: Vec<Collection>,
pub links: Vec<Link>,
pub additional_fields: Map<String, Value>,
}
Expand description
Object containing an array of Collection objects in the Catalog, and Link relations.
Fields§
§collections: Vec<Collection>
The Collection objects in the stac::Catalog.
links: Vec<Link>
The stac::Link relations.
additional_fields: Map<String, Value>
Additional fields.
Trait Implementations§
source§impl Debug for Collections
impl Debug for Collections
source§impl<'de> Deserialize<'de> for Collections
impl<'de> Deserialize<'de> for Collections
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
source§impl From<Vec<Collection, Global>> for Collections
impl From<Vec<Collection, Global>> for Collections
source§fn from(collections: Vec<Collection>) -> Collections
fn from(collections: Vec<Collection>) -> Collections
Converts to this type from the input type.
source§impl Links for Collections
impl Links for Collections
source§fn links_mut(&mut self) -> &mut Vec<Link>
fn links_mut(&mut self) -> &mut Vec<Link>
Returns a mutable reference to this object’s links. Read more
source§fn link(&self, rel: &str) -> Option<&Link>
fn link(&self, rel: &str) -> Option<&Link>
Returns the first link with the given rel type. Read more
source§fn iter_child_links(&self) -> Box<dyn Iterator<Item = &Link>, Global>
fn iter_child_links(&self) -> Box<dyn Iterator<Item = &Link>, Global>
Returns an iterator over this object’s child links. Read more
source§fn iter_item_links(&self) -> Box<dyn Iterator<Item = &Link>, Global>
fn iter_item_links(&self) -> Box<dyn Iterator<Item = &Link>, Global>
Returns an iterator over this object’s item links. Read more