Enum google_api_proto::google::ads::googleads::v15::errors::batch_job_error_enum::BatchJobError
source · #[repr(i32)]pub enum BatchJobError {
Unspecified = 0,
Unknown = 1,
CannotModifyJobAfterJobStartsRunning = 2,
EmptyOperations = 3,
InvalidSequenceToken = 4,
ResultsNotReady = 5,
InvalidPageSize = 6,
CanOnlyRemovePendingJob = 7,
CannotListResults = 8,
}
Expand description
Enum describing possible request errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
CannotModifyJobAfterJobStartsRunning = 2
The batch job cannot add more operations or run after it has started running.
EmptyOperations = 3
The operations for an AddBatchJobOperations request were empty.
InvalidSequenceToken = 4
The sequence token for an AddBatchJobOperations request was invalid.
ResultsNotReady = 5
Batch job results can only be retrieved once the job is finished.
InvalidPageSize = 6
The page size for ListBatchJobResults was invalid.
CanOnlyRemovePendingJob = 7
The batch job cannot be removed because it has started running.
CannotListResults = 8
The batch job cannot be listed due to unexpected errors such as duplicate checkpoints.
Implementations§
source§impl BatchJobError
impl BatchJobError
source§impl BatchJobError
impl BatchJobError
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 BatchJobError
impl Clone for BatchJobError
source§fn clone(&self) -> BatchJobError
fn clone(&self) -> BatchJobError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchJobError
impl Debug for BatchJobError
source§impl Default for BatchJobError
impl Default for BatchJobError
source§fn default() -> BatchJobError
fn default() -> BatchJobError
source§impl From<BatchJobError> for i32
impl From<BatchJobError> for i32
source§fn from(value: BatchJobError) -> i32
fn from(value: BatchJobError) -> i32
source§impl Hash for BatchJobError
impl Hash for BatchJobError
source§impl Ord for BatchJobError
impl Ord for BatchJobError
source§fn cmp(&self, other: &BatchJobError) -> Ordering
fn cmp(&self, other: &BatchJobError) -> 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 BatchJobError
impl PartialEq for BatchJobError
source§fn eq(&self, other: &BatchJobError) -> bool
fn eq(&self, other: &BatchJobError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BatchJobError
impl PartialOrd for BatchJobError
source§fn partial_cmp(&self, other: &BatchJobError) -> Option<Ordering>
fn partial_cmp(&self, other: &BatchJobError) -> 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 BatchJobError
impl TryFrom<i32> for BatchJobError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<BatchJobError, DecodeError>
fn try_from(value: i32) -> Result<BatchJobError, DecodeError>
impl Copy for BatchJobError
impl Eq for BatchJobError
impl StructuralPartialEq for BatchJobError
Auto Trait Implementations§
impl Freeze for BatchJobError
impl RefUnwindSafe for BatchJobError
impl Send for BatchJobError
impl Sync for BatchJobError
impl Unpin for BatchJobError
impl UnwindSafe for BatchJobError
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