#[repr(i32)]pub enum JobView {
Unknown = 0,
Summary = 1,
All = 2,
Description = 3,
}
Expand description
Selector for how much information is returned in Job responses.
Variants§
Unknown = 0
The job view to return isn’t specified, or is unknown.
Responses will contain at least the JOB_VIEW_SUMMARY
information,
and may contain additional information.
Summary = 1
Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.
All = 2
Request all information available for this job.
Description = 3
Request summary info and limited job description data for steps, labels and environment.
Implementations§
source§impl JobView
impl JobView
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 JobView
impl Ord for JobView
source§impl PartialEq for JobView
impl PartialEq for JobView
source§impl PartialOrd for JobView
impl PartialOrd for JobView
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 JobView
impl TryFrom<i32> for JobView
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for JobView
impl Eq for JobView
impl StructuralPartialEq for JobView
Auto Trait Implementations§
impl Freeze for JobView
impl RefUnwindSafe for JobView
impl Send for JobView
impl Sync for JobView
impl Unpin for JobView
impl UnwindSafe for JobView
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