pub struct RunFilter {
pub workflow_name: Option<String>,
pub status: Option<RunStatus>,
pub created_after: Option<DateTime<Utc>>,
pub created_before: Option<DateTime<Utc>>,
}Expand description
Filters for listing runs.
All fields are optional; None means “no filter” for that field.
§Examples
use ironflow_store::entities::{RunFilter, RunStatus};
let filter = RunFilter {
workflow_name: Some("deploy".to_string()),
status: Some(RunStatus::Completed),
..RunFilter::default()
};Fields§
§workflow_name: Option<String>Filter by workflow name (exact match).
status: Option<RunStatus>Filter by run status.
created_after: Option<DateTime<Utc>>Only include runs created after this timestamp.
created_before: Option<DateTime<Utc>>Only include runs created before this timestamp.
Trait Implementations§
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