pub struct SearchContext {
pub returned: u64,
pub limit: Option<u64>,
pub matched: Option<u64>,
}Expand description
Context metadata for an ItemCollection response from a STAC API search.
See the STAC API Context Object docs for details.
Fields§
§returned: u64The number of items returned in the current response.
limit: Option<u64>The maximum number of items requested.
matched: Option<u64>The total number of items that matched the search criteria.
Trait Implementations§
Source§impl Clone for SearchContext
impl Clone for SearchContext
Source§fn clone(&self) -> SearchContext
fn clone(&self) -> SearchContext
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 SearchContext
impl Debug for SearchContext
Source§impl<'de> Deserialize<'de> for SearchContext
impl<'de> Deserialize<'de> for SearchContext
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 SearchContext
impl RefUnwindSafe for SearchContext
impl Send for SearchContext
impl Sync for SearchContext
impl Unpin for SearchContext
impl UnwindSafe for SearchContext
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