pub struct GetItems {
pub limit: Option<String>,
pub bbox: Option<String>,
pub datetime: Option<String>,
pub fields: Option<String>,
pub sortby: Option<String>,
pub filter_crs: Option<String>,
pub filter_lang: Option<String>,
pub filter: Option<String>,
pub additional_fields: HashMap<String, String>,
}
Expand description
GET parameters for the items endpoint from STAC API - Features.
This is a lot like Search, but without intersects, ids, and collections.
Fields§
§limit: Option<String>
The maximum number of results to return (page size).
bbox: Option<String>
Requested bounding box.
datetime: Option<String>
Single date+time, or a range (‘/’ separator), formatted to RFC 3339, section 5.6.
Use double dots ..
for open date ranges.
fields: Option<String>
Include/exclude fields from item collections.
sortby: Option<String>
Fields by which to sort results.
filter_crs: Option<String>
Recommended to not be passed, but server must only accept http://www.opengis.net/def/crs/OGC/1.3/CRS84 as a valid value, may reject any others
filter_lang: Option<String>
This should always be cql2-text if present.
filter: Option<String>
CQL2 filter expression.
additional_fields: HashMap<String, String>
Additional fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetItems
impl<'de> Deserialize<'de> for GetItems
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 GetItems
impl RefUnwindSafe for GetItems
impl Send for GetItems
impl Sync for GetItems
impl Unpin for GetItems
impl UnwindSafe for GetItems
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more