pub struct ItemCollection {
pub collection_type: String,
pub features: Vec<Item>,
pub links: Option<Vec<Link>>,
pub context: Option<SearchContext>,
}Expand description
Represents a GeoJSON FeatureCollection containing STAC Item objects.
This is the standard response format for a STAC API search. See the STAC API ItemCollection docs for details.
Fields§
§collection_type: StringThe type of the object, which is always “FeatureCollection”.
features: Vec<Item>The list of Item objects returned by the search.
links: Option<Vec<Link>>A list of links related to the search results, such as for pagination.
context: Option<SearchContext>Context metadata about the search results.
Trait Implementations§
Source§impl Clone for ItemCollection
impl Clone for ItemCollection
Source§fn clone(&self) -> ItemCollection
fn clone(&self) -> ItemCollection
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 ItemCollection
impl Debug for ItemCollection
Source§impl<'de> Deserialize<'de> for ItemCollection
impl<'de> Deserialize<'de> for ItemCollection
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 ItemCollection
impl RefUnwindSafe for ItemCollection
impl Send for ItemCollection
impl Sync for ItemCollection
impl Unpin for ItemCollection
impl UnwindSafe for ItemCollection
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