Struct LogsResponse
pub struct LogsResponse {
pub events: Vec<Value>,
pub next_cursor: Option<(String, String)>,
pub next_cursor_line_offset: Option<u64>,
pub at_end: bool,
pub daemon_started_at: String,
pub attribution_keys: Vec<String>,
}Fields§
§events: Vec<Value>§next_cursor: Option<(String, String)>👎Deprecated since 0.8.0:
§tie-breaks by lexicographic id and can silently drop events; use next_cursor_line_offset / until_line_offset instead. Removal tracked in zeroclaw-labs/zeroclaw#8012.
next_cursor_line_offset: Option<u64>Byte offset past the last event on this page. Pass back as
?until_line_offset= on the next request to resume without
re-scanning already-read bytes.
at_end: boolTrue when the file was fully scanned for this filter.
daemon_started_at: StringDaemon start time so callers can implement “since daemon start”
without an extra /api/status round-trip.
attribution_keys: Vec<String>Canonical attribution-field names — ATTRIBUTION_FIELDS plus, for
each entry in COMPOSITE_PREFIXES, the bare prefix and its
<prefix>_type / <prefix>_alias decomposed keys. The dashboard
reads this instead of enumerating schema fields client-side.
Trait Implementations§
Source§impl Debug for LogsResponse
impl Debug for LogsResponse
Source§impl Serialize for LogsResponse
impl Serialize for LogsResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for LogsResponse
impl RefUnwindSafe for LogsResponse
impl Send for LogsResponse
impl Sync for LogsResponse
impl Unpin for LogsResponse
impl UnsafeUnpin for LogsResponse
impl UnwindSafe for LogsResponse
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more