pub struct QueryHandlerParams {
pub name: String,
pub limit: Option<usize>,
pub start: Option<u64>,
pub end: Option<u64>,
}Expand description
Parameters for the type-erased query handler.
Fields§
§name: StringRecord pattern (supports * wildcard).
limit: Option<usize>Maximum results per matching record.
start: Option<u64>Optional start timestamp (Unix ms).
end: Option<u64>Optional end timestamp (Unix ms).
Trait Implementations§
Source§impl Clone for QueryHandlerParams
impl Clone for QueryHandlerParams
Source§fn clone(&self) -> QueryHandlerParams
fn clone(&self) -> QueryHandlerParams
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 moreAuto Trait Implementations§
impl Freeze for QueryHandlerParams
impl RefUnwindSafe for QueryHandlerParams
impl Send for QueryHandlerParams
impl Sync for QueryHandlerParams
impl Unpin for QueryHandlerParams
impl UnsafeUnpin for QueryHandlerParams
impl UnwindSafe for QueryHandlerParams
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