pub struct QueryParams {
pub limit: Option<u32>,
pub offset: Option<u32>,
pub bbox: Option<[f64; 4]>,
pub bbox_crs: Option<String>,
pub datetime: Option<DateTimeFilter>,
pub filter: Option<String>,
pub filter_lang: Option<FilterLang>,
pub crs: Option<String>,
pub properties: Option<Vec<String>>,
}Expand description
Query parameters for GET /collections/{id}/items
Fields§
§limit: Option<u32>Maximum number of features to return (server default: 10, max: 10 000)
offset: Option<u32>Number of features to skip (for pagination)
bbox: Option<[f64; 4]>Spatial filter as [xmin, ymin, xmax, ymax]
bbox_crs: Option<String>CRS for the bbox (Part 2)
datetime: Option<DateTimeFilter>Temporal filter
filter: Option<String>CQL2 filter expression
filter_lang: Option<FilterLang>Language of the filter expression
crs: Option<String>CRS for the response geometry (Part 2)
properties: Option<Vec<String>>Property selection (return only these properties)
Implementations§
Source§impl QueryParams
impl QueryParams
Sourcepub fn effective_limit(&self) -> u32
pub fn effective_limit(&self) -> u32
Effective limit, applying the default of 10.
Sourcepub fn effective_offset(&self) -> u32
pub fn effective_offset(&self) -> u32
Effective offset, applying the default of 0.
Trait Implementations§
Source§impl Clone for QueryParams
impl Clone for QueryParams
Source§fn clone(&self) -> QueryParams
fn clone(&self) -> QueryParams
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 QueryParams
impl Debug for QueryParams
Source§impl Default for QueryParams
impl Default for QueryParams
Source§fn default() -> QueryParams
fn default() -> QueryParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueryParams
impl RefUnwindSafe for QueryParams
impl Send for QueryParams
impl Sync for QueryParams
impl Unpin for QueryParams
impl UnsafeUnpin for QueryParams
impl UnwindSafe for QueryParams
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