Enum google_api_proto::google::dataflow::v1beta3::list_jobs_request::Filter
source · #[repr(i32)]pub enum Filter {
Unknown = 0,
All = 1,
Terminated = 2,
Active = 3,
}
Expand description
This field filters out and returns jobs in the specified job state. The order of data returned is determined by the filter used, and is subject to change.
Variants§
Unknown = 0
The filter isn’t specified, or is unknown. This returns all jobs ordered
on descending JobUuid
.
All = 1
Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.
Terminated = 2
Filters the jobs that have a terminated state, ordered on the
termination timestamp. Example terminated states: JOB_STATE_STOPPED
,
JOB_STATE_UPDATED
, JOB_STATE_DRAINED
, etc.
Active = 3
Filters the jobs that are running ordered on the creation timestamp.
Implementations§
source§impl Filter
impl Filter
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Ord for Filter
impl Ord for Filter
source§impl PartialEq for Filter
impl PartialEq for Filter
source§impl PartialOrd for Filter
impl PartialOrd for Filter
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for Filter
impl TryFrom<i32> for Filter
§type Error = DecodeError
type Error = DecodeError
impl Copy for Filter
impl Eq for Filter
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnwindSafe for Filter
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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
§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
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>
§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