pub struct ContextQuery {
pub namespace: Option<Namespace>,
pub prefix: Option<String>,
pub include_expired: bool,
pub limit: Option<usize>,
pub offset: Option<usize>,
}Expand description
Query options for listing context entries.
Fields§
§namespace: Option<Namespace>Filter by namespace.
prefix: Option<String>Filter by key prefix (within namespace).
include_expired: boolInclude expired entries.
limit: Option<usize>Maximum number of results.
offset: Option<usize>Offset for pagination.
Implementations§
Source§impl ContextQuery
impl ContextQuery
Sourcepub fn include_expired(self) -> Self
pub fn include_expired(self) -> Self
Include expired entries.
Trait Implementations§
Source§impl Clone for ContextQuery
impl Clone for ContextQuery
Source§fn clone(&self) -> ContextQuery
fn clone(&self) -> ContextQuery
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 ContextQuery
impl Debug for ContextQuery
Source§impl Default for ContextQuery
impl Default for ContextQuery
Source§fn default() -> ContextQuery
fn default() -> ContextQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContextQuery
impl RefUnwindSafe for ContextQuery
impl Send for ContextQuery
impl Sync for ContextQuery
impl Unpin for ContextQuery
impl UnwindSafe for ContextQuery
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