Struct google_api_proto::google::cloud::talent::v4::BatchOperationMetadata
source · pub struct BatchOperationMetadata {
pub state: i32,
pub state_description: String,
pub success_count: i32,
pub failure_count: i32,
pub total_count: i32,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
}
Expand description
Metadata used for long running operations returned by CTS batch APIs. It’s used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
Fields§
§state: i32
The state of a long running operation.
state_description: String
More detailed information about operation state.
success_count: i32
Count of successful item(s) inside an operation.
failure_count: i32
Count of failed item(s) inside an operation.
total_count: i32
Count of total item(s) inside an operation.
create_time: Option<Timestamp>
The time when the batch operation is created.
update_time: Option<Timestamp>
The time when the batch operation status is updated. The metadata and the [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is returned.
end_time: Option<Timestamp>
The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is
set to true
.
Implementations§
Trait Implementations§
source§impl Clone for BatchOperationMetadata
impl Clone for BatchOperationMetadata
source§fn clone(&self) -> BatchOperationMetadata
fn clone(&self) -> BatchOperationMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchOperationMetadata
impl Debug for BatchOperationMetadata
source§impl Default for BatchOperationMetadata
impl Default for BatchOperationMetadata
source§impl Message for BatchOperationMetadata
impl Message for BatchOperationMetadata
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for BatchOperationMetadata
impl PartialEq for BatchOperationMetadata
source§fn eq(&self, other: &BatchOperationMetadata) -> bool
fn eq(&self, other: &BatchOperationMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchOperationMetadata
Auto Trait Implementations§
impl Freeze for BatchOperationMetadata
impl RefUnwindSafe for BatchOperationMetadata
impl Send for BatchOperationMetadata
impl Sync for BatchOperationMetadata
impl Unpin for BatchOperationMetadata
impl UnwindSafe for BatchOperationMetadata
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<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