pub struct GetSearch {
pub limit: Option<String>,
pub bbox: Option<String>,
pub datetime: Option<String>,
pub intersects: Option<String>,
pub ids: Option<Vec<String>>,
pub collections: Option<Vec<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 item search endpoint.
Fields§
§limit: Option<String>
The maximum number of results to return (page size).
bbox: Option<String>
Requested bounding box.
datetime: Option<String>
Requested bounding box.
Use double dots ..
for open date ranges.
intersects: Option<String>
Searches items by performing intersection between their geometry and provided GeoJSON geometry.
All GeoJSON geometry types must be supported.
ids: Option<Vec<String>>
Array of Item ids to return.
collections: Option<Vec<String>>
Array of one or more Collection IDs that each matching Item must be in.
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>
CQL2 filter expression.
filter: Option<String>
CQL2 filter expression.
additional_fields: HashMap<String, String>
Additional fields.
Trait Implementations§
source§impl<'de> Deserialize<'de> for GetSearch
impl<'de> Deserialize<'de> for GetSearch
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 RefUnwindSafe for GetSearch
impl Send for GetSearch
impl Sync for GetSearch
impl Unpin for GetSearch
impl UnwindSafe for GetSearch
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