pub struct RunListQuery {Show 13 fields
pub loop_id: Option<i64>,
pub process_type: Option<ProcessType>,
pub controller_type: Option<ControllerType>,
pub outcome: Option<TuneOutcome>,
pub driver: Option<TuneDriver>,
pub started_after: Option<DateTime<Utc>>,
pub started_before: Option<DateTime<Utc>>,
pub template_name: Option<String>,
pub template_origin: Option<TemplateOrigin>,
pub opc_server: Option<String>,
pub bridge_host: Option<String>,
pub limit: Option<i64>,
pub offset: Option<i64>,
}Expand description
Query parameters for GET /api/runs, mirroring TuneRunFilter’s fields one-to-one
plus Pagination. Every field is optional; an absent limit/offset falls back to
Pagination::default (50 rows, offset 0), matching the CLI’s own default page size.
Fields§
§loop_id: Option<i64>§process_type: Option<ProcessType>§controller_type: Option<ControllerType>§outcome: Option<TuneOutcome>§driver: Option<TuneDriver>§started_after: Option<DateTime<Utc>>§started_before: Option<DateTime<Utc>>§template_name: Option<String>§template_origin: Option<TemplateOrigin>§opc_server: Option<String>Filters on the run’s recorded, resolved OPC server (db-run-request-snapshot) –
always absent for a simulator/replay run, so this filter alone never matches one.
bridge_host: Option<String>Filters on the run’s recorded, resolved bridge host, matching opc_server above.
limit: Option<i64>§offset: Option<i64>Trait Implementations§
Source§impl Debug for RunListQuery
impl Debug for RunListQuery
Source§impl<'de> Deserialize<'de> for RunListQuery
impl<'de> Deserialize<'de> for RunListQuery
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
Source§impl IntoParams for RunListQuery
impl IntoParams for RunListQuery
Auto Trait Implementations§
impl Freeze for RunListQuery
impl RefUnwindSafe for RunListQuery
impl Send for RunListQuery
impl Sync for RunListQuery
impl Unpin for RunListQuery
impl UnsafeUnpin for RunListQuery
impl UnwindSafe for RunListQuery
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].