pub struct RunFilter {
pub dag_id: Option<DagId>,
pub dag_contains: Option<String>,
pub state: Option<RunState>,
pub before: Option<Timestamp>,
pub before_run: Option<String>,
pub limit: u32,
}Expand description
Which runs Database::runs lists.
Fields§
§dag_id: Option<DagId>Only this DAG’s.
dag_contains: Option<String>Only the DAGs whose ID holds this, in any case (the Runs page’s DAG field).
state: Option<RunState>Only runs in this state.
before: Option<Timestamp>Only runs listed after this point: triggered before this moment, or at it with a
lower ID than before_run (the next page: the last run shown’s triggered_at and ID;
a scheduler round triggers its runs at the same moment).
before_run: Option<String>The last run shown, with before (ignored without it).
limit: u32At most this many (capped at MAX_RUNS).
Trait Implementations§
impl Eq for RunFilter
impl StructuralPartialEq for RunFilter
Auto Trait Implementations§
impl Freeze for RunFilter
impl RefUnwindSafe for RunFilter
impl Send for RunFilter
impl Sync for RunFilter
impl Unpin for RunFilter
impl UnsafeUnpin for RunFilter
impl UnwindSafe for RunFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§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> ⓘ
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