pub struct CountedQuery {
pub body: Json<QueryEventsResponse>,
pub read: Option<ReadFacts>,
}Expand description
GET /api/v1/events/query, conditional per the latest-state contract.
The body carries no request-time field, so equal results share a tag.
A query answer, and the read facts for query_events to record. read
is None when the request was refused before any read ran.
Fields§
§body: Json<QueryEventsResponse>§read: Option<ReadFacts>Auto Trait Implementations§
impl Forget for CountedQuery
impl Freeze for CountedQuery
impl Move for CountedQuery
impl RefUnwindSafe for CountedQuery
impl Send for CountedQuery
impl Sync for CountedQuery
impl Unpin for CountedQuery
impl UnsafeUnpin for CountedQuery
impl UnwindSafe for CountedQuery
Blanket Implementations§
impl<T> Allocation for T
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