pub struct ReportRequest {
pub query: Query,
pub now: SystemTime,
pub max_work: u64,
}Expand description
The read half of a request at an opened root, plus one read’s work bound.
The basis is the opened root’s own and is never supplied here: a caller names what each
read asks – the query and the instant it is asked at – and crate::query::Request
composes the two for validation.
Fields§
§query: QueryExisting selection and view vocabulary shared by one-shot surfaces.
now: SystemTimeThe instant this read resolves against, which is also the report’s generated_at.
Caller-supplied, keeping the projection deterministic.
max_work: u64Maximum retained-index and maintained-index rows read by the report.
Trait Implementations§
Source§impl Clone for ReportRequest
impl Clone for ReportRequest
Auto Trait Implementations§
impl Freeze for ReportRequest
impl RefUnwindSafe for ReportRequest
impl Send for ReportRequest
impl Sync for ReportRequest
impl Unpin for ReportRequest
impl UnsafeUnpin for ReportRequest
impl UnwindSafe for ReportRequest
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