Enum google_api_proto::google::cloud::bigquery::v2::query_request::JobCreationMode
source · #[repr(i32)]pub enum JobCreationMode {
Unspecified = 0,
JobCreationRequired = 1,
JobCreationOptional = 2,
}
Expand description
Job Creation Mode provides different options on job creation.
Variants§
Unspecified = 0
If unspecified JOB_CREATION_REQUIRED is the default.
JobCreationRequired = 1
Default. Job creation is always required.
JobCreationOptional = 2
Job creation is optional. Returning immediate results is prioritized. BigQuery will automatically determine if a Job needs to be created. The conditions under which BigQuery can decide to not create a Job are subject to change. If Job creation is required, JOB_CREATION_REQUIRED mode should be used, which is the default.
Implementations§
source§impl JobCreationMode
impl JobCreationMode
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 Clone for JobCreationMode
impl Clone for JobCreationMode
source§fn clone(&self) -> JobCreationMode
fn clone(&self) -> JobCreationMode
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobCreationMode
impl Debug for JobCreationMode
source§impl Default for JobCreationMode
impl Default for JobCreationMode
source§fn default() -> JobCreationMode
fn default() -> JobCreationMode
source§impl From<JobCreationMode> for i32
impl From<JobCreationMode> for i32
source§fn from(value: JobCreationMode) -> i32
fn from(value: JobCreationMode) -> i32
source§impl Hash for JobCreationMode
impl Hash for JobCreationMode
source§impl Ord for JobCreationMode
impl Ord for JobCreationMode
source§fn cmp(&self, other: &JobCreationMode) -> Ordering
fn cmp(&self, other: &JobCreationMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for JobCreationMode
impl PartialEq for JobCreationMode
source§fn eq(&self, other: &JobCreationMode) -> bool
fn eq(&self, other: &JobCreationMode) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for JobCreationMode
impl PartialOrd for JobCreationMode
source§fn partial_cmp(&self, other: &JobCreationMode) -> Option<Ordering>
fn partial_cmp(&self, other: &JobCreationMode) -> Option<Ordering>
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 JobCreationMode
impl TryFrom<i32> for JobCreationMode
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<JobCreationMode, UnknownEnumValue>
fn try_from(value: i32) -> Result<JobCreationMode, UnknownEnumValue>
impl Copy for JobCreationMode
impl Eq for JobCreationMode
impl StructuralPartialEq for JobCreationMode
Auto Trait Implementations§
impl Freeze for JobCreationMode
impl RefUnwindSafe for JobCreationMode
impl Send for JobCreationMode
impl Sync for JobCreationMode
impl Unpin for JobCreationMode
impl UnwindSafe for JobCreationMode
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