pub struct QueryPage {
pub logs: Vec<LogView>,
pub next_cursor: Option<String>,
pub segments_scanned: u64,
}Expand description
One page of query results (see crate::ReadSnapshot::query_page).
Fields§
§logs: Vec<LogView>§next_cursor: Option<String>Present when more matches remain past this page; feed it back via
LogQuery::cursor to continue. None (absent on the wire) on the
final page.
segments_scanned: u64Log segment files this query actually opened — observability for time-range pruning (a narrow window over a long history should open far fewer segments than the table holds).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QueryPage
impl<'de> Deserialize<'de> for QueryPage
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 QueryPage
impl RefUnwindSafe for QueryPage
impl Send for QueryPage
impl Sync for QueryPage
impl Unpin for QueryPage
impl UnsafeUnpin for QueryPage
impl UnwindSafe for QueryPage
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