Struct LogsResponse
pub struct LogsResponse {
pub events: Vec<Value>,
pub next_cursor: Option<(String, String)>,
pub next_cursor_line_offset: Option<u64>,
pub next_segment_cursor: Option<String>,
pub at_end: bool,
pub incomplete: bool,
pub persistence_enabled: bool,
pub daemon_started_at: String,
pub attribution_keys: Vec<String>,
}Fields§
§events: Vec<Value>§next_cursor: Option<(String, String)>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.
next_segment_cursor: Option<String>Composite segment-aware cursor for the oldest event on this page. Pass
back as ?until_segment_cursor= on the next request to paginate
across segment boundaries (active file + rotated archives). Supersedes
next_cursor_line_offset for rotating-mode deployments with
multiple retained segments.
at_end: boolTrue when the file was fully scanned for this filter.
incomplete: boolTrue when a retained segment could not be read and was left out of this
page. at_end then means “no older events among the segments that could
be read”, which is weaker than “no older events exist”, so a client that
stops paging on at_end should present the history as partial.
persistence_enabled: boolWhether this daemon is persisting the runtime trace. An empty event list is otherwise ambiguous between “no matches” and “logging disabled”.
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,
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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
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> ⓘ
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