pub struct RunTraceQuery {
pub after: Option<u64>,
pub limit: Option<usize>,
pub latest: Option<usize>,
pub kind: Option<String>,
pub step: Option<String>,
pub attempt: Option<u32>,
}Expand description
Query params for GET /v1/runs/:id/trace — see
mlua_swarm::store::trace::TraceQuery for semantics (latest wins
over after; kind entries are comma-separated prefix matches).
Fields§
§after: Option<u64>Forward-paging cursor: only events with seq > after.
limit: Option<usize>Page size cap.
latest: Option<usize>Tail mode: the LAST n matching events (ascending order).
kind: Option<String>Comma-separated kind filters, prefix match (e.g. kind=mw. or
kind=core.step_completed,worker.).
step: Option<String>Exact step_ref filter.
attempt: Option<u32>Exact attempt filter.
Trait Implementations§
Source§impl Debug for RunTraceQuery
impl Debug for RunTraceQuery
Source§impl Default for RunTraceQuery
impl Default for RunTraceQuery
Source§fn default() -> RunTraceQuery
fn default() -> RunTraceQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunTraceQuery
impl<'de> Deserialize<'de> for RunTraceQuery
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 RunTraceQuery
impl RefUnwindSafe for RunTraceQuery
impl Send for RunTraceQuery
impl Sync for RunTraceQuery
impl Unpin for RunTraceQuery
impl UnsafeUnpin for RunTraceQuery
impl UnwindSafe for RunTraceQuery
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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