pub struct ListObservationsRequest {
pub scope_ids: ScopeIds,
pub kinds: Vec<ObservationKind>,
pub since: Option<i64>,
pub until: Option<i64>,
pub limit: Option<u32>,
pub cursor: Option<String>,
pub include_redacted: Option<bool>,
}Expand description
Domain types re-exported from kindling_types so the daemon client is a
self-contained SDK: depend on kindling-client alone and reach every type
the API sends or returns as kindling_client::<Type>. kindling-types
stays an internal transitive dependency you never have to name.
Filter + pagination for an observation list request.
Time bounds are half-open: since is inclusive, until is exclusive, so
two adjacent range polls [t0, t1) + [t1, t2) never double-count the
boundary. task_id is intentionally not a filter dimension (it is carried
only for provenance) — scope_ids.task_id is ignored if set.
Fields§
§scope_ids: ScopeIdsScope filter (session / repo / agent / user).
kinds: Vec<ObservationKind>Restrict to these observation kinds. Empty (or omitted) = all kinds.
since: Option<i64>Inclusive lower bound on ts (epoch ms).
until: Option<i64>Exclusive upper bound on ts (epoch ms).
limit: Option<u32>Max rows per page. Server-clamped to [1, 1000]; default 100.
cursor: Option<String>Opaque cursor from a prior response’s nextCursor. Treat as a token; do
not parse or construct it.
include_redacted: Option<bool>Include redacted rows. Default false. A redacted row keeps its kind,
scope and provenance but its content is [redacted].
Trait Implementations§
Source§impl Clone for ListObservationsRequest
impl Clone for ListObservationsRequest
Source§fn clone(&self) -> ListObservationsRequest
fn clone(&self) -> ListObservationsRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListObservationsRequest
impl Debug for ListObservationsRequest
Source§impl<'de> Deserialize<'de> for ListObservationsRequest
impl<'de> Deserialize<'de> for ListObservationsRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListObservationsRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListObservationsRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ListObservationsRequest
impl PartialEq for ListObservationsRequest
Source§fn eq(&self, other: &ListObservationsRequest) -> bool
fn eq(&self, other: &ListObservationsRequest) -> bool
self and other values to be equal, and is used by ==.