Struct stac_api::Collections
source · pub struct Collections {
pub collections: Vec<Collection>,
pub links: Vec<Link>,
pub additional_fields: Map<String, Value>,
/* private fields */
}
Expand description
Object containing an array of collections and an array of links.
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>> for Collections
impl From<Vec<Collection>> 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 Href for Collections
impl Href for Collections
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> + '_>
fn iter_child_links(&self) -> Box<dyn Iterator<Item = &Link> + '_>
Returns an iterator over this object’s child links. Read more
source§fn iter_item_links(&self) -> Box<dyn Iterator<Item = &Link> + '_>
fn iter_item_links(&self) -> Box<dyn Iterator<Item = &Link> + '_>
Returns an iterator over this object’s item links. Read more
source§fn make_relative_links_absolute(&mut self) -> Result<(), Error>
fn make_relative_links_absolute(&mut self) -> Result<(), Error>
Makes all relative links absolute with respect to this object’s href. Read more
source§fn make_absolute_links_relative(
&mut self,
href: impl ToString,
) -> Result<(), Error>
fn make_absolute_links_relative( &mut self, href: impl ToString, ) -> Result<(), Error>
Makes all absolute links relative with respect to an href. Read more
source§fn remove_relative_links(&mut self)
fn remove_relative_links(&mut self)
Removes all relative links. Read more
source§fn remove_structural_links(&mut self)
fn remove_structural_links(&mut self)
Removes all structural links. Read more
Auto Trait Implementations§
impl Freeze for Collections
impl RefUnwindSafe for Collections
impl Send for Collections
impl Sync for Collections
impl Unpin for Collections
impl UnwindSafe for Collections
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