pub struct JobQueryFilters {
pub job_ids: Option<IndexSet<Uuid>>,
pub job_type_ids: Option<IndexSet<String>>,
pub execution_ids: Option<IndexSet<Uuid>>,
pub schedule_ids: Option<IndexSet<Uuid>>,
pub execution_status: Option<IndexSet<JobExecutionStatus>>,
pub labels: Option<IndexMap<String, JobLabelFilterValue>>,
pub active: Option<bool>,
pub created_after: Option<SystemTime>,
pub created_before: Option<SystemTime>,
pub target_execution_time_after: Option<SystemTime>,
pub target_execution_time_before: Option<SystemTime>,
}Expand description
Filters for querying jobs.
Fields§
§job_ids: Option<IndexSet<Uuid>>Job IDs to filter the query results by.
job_type_ids: Option<IndexSet<String>>Job type IDs to filter the query results by.
execution_ids: Option<IndexSet<Uuid>>Execution IDs to filter the query results by.
schedule_ids: Option<IndexSet<Uuid>>Schedule IDs to filter the query results by.
execution_status: Option<IndexSet<JobExecutionStatus>>Execution status to filter the query results by.
labels: Option<IndexMap<String, JobLabelFilterValue>>Labels to filter the query results by.
active: Option<bool>Whether to return active or inactive jobs only.
created_after: Option<SystemTime>Jobs created after the given time, inclusive.
created_before: Option<SystemTime>Jobs created before the given time, exclusive.
target_execution_time_after: Option<SystemTime>Jobs with target execution time after the given time, inclusive.
target_execution_time_before: Option<SystemTime>Jobs with target execution time before the given time, exclusive.
Trait Implementations§
Source§impl Clone for JobQueryFilters
impl Clone for JobQueryFilters
Source§fn clone(&self) -> JobQueryFilters
fn clone(&self) -> JobQueryFilters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JobQueryFilters
impl Debug for JobQueryFilters
Source§impl Default for JobQueryFilters
impl Default for JobQueryFilters
Source§fn default() -> JobQueryFilters
fn default() -> JobQueryFilters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JobQueryFilters
impl<'de> Deserialize<'de> for JobQueryFilters
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 Serialize for JobQueryFilters
impl Serialize for JobQueryFilters
Source§impl TryFrom<JobQueryFilter> for JobQueryFilters
impl TryFrom<JobQueryFilter> for JobQueryFilters
Auto Trait Implementations§
impl Freeze for JobQueryFilters
impl RefUnwindSafe for JobQueryFilters
impl Send for JobQueryFilters
impl Sync for JobQueryFilters
impl Unpin for JobQueryFilters
impl UnwindSafe for JobQueryFilters
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,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request