pub struct JobListParameters {
pub all_users: Option<bool>,
pub max_results: Option<u32>,
pub min_creation_time: Option<u64>,
pub max_creation_time: Option<u64>,
pub parent_job_id: Option<String>,
pub projection: Option<Projection>,
pub state_filter: Option<StateFilter>,
pub page_token: Option<String>,
}
Fields§
§all_users: Option<bool>
Whether to display jobs owned by all users in the project. Default False.
max_results: Option<u32>
The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.
min_creation_time: Option<u64>
Min value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created after or at this timestamp are returned.
max_creation_time: Option<u64>
Max value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created before or at this timestamp are returned.
parent_job_id: Option<String>
If set, show only child jobs of the specified parent. Otherwise, show all top-level jobs.
projection: Option<Projection>
Restrict information returned to a set of selected fields. Acceptable values are: full or minimal.
state_filter: Option<StateFilter>
Filter for job state. Acceptable values are: done, pending, and running.
page_token: Option<String>
Page token, returned by a previous call, to request the next page of results.
Trait Implementations§
Source§impl Clone for JobListParameters
impl Clone for JobListParameters
Source§fn clone(&self) -> JobListParameters
fn clone(&self) -> JobListParameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for JobListParameters
impl Debug for JobListParameters
Source§impl Default for JobListParameters
impl Default for JobListParameters
Source§fn default() -> JobListParameters
fn default() -> JobListParameters
Source§impl<'de> Deserialize<'de> for JobListParameters
impl<'de> Deserialize<'de> for JobListParameters
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>,
Auto Trait Implementations§
impl Freeze for JobListParameters
impl RefUnwindSafe for JobListParameters
impl Send for JobListParameters
impl Sync for JobListParameters
impl Unpin for JobListParameters
impl UnwindSafe for JobListParameters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
T
in a tonic::Request