Struct google_api_proto::google::firestore::admin::v1::BulkDeleteDocumentsMetadata
source · pub struct BulkDeleteDocumentsMetadata {
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub operation_state: i32,
pub progress_documents: Option<Progress>,
pub progress_bytes: Option<Progress>,
pub collection_ids: Vec<String>,
pub namespace_ids: Vec<String>,
pub snapshot_time: Option<Timestamp>,
}
Expand description
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.BulkDeleteDocuments][google.firestore.admin.v1.FirestoreAdmin.BulkDeleteDocuments].
Fields§
§start_time: Option<Timestamp>
The time this operation started.
end_time: Option<Timestamp>
The time this operation completed. Will be unset if operation still in progress.
operation_state: i32
The state of the operation.
progress_documents: Option<Progress>
The progress, in documents, of this operation.
progress_bytes: Option<Progress>
The progress, in bytes, of this operation.
collection_ids: Vec<String>
The IDs of the collection groups that are being deleted.
namespace_ids: Vec<String>
Which namespace IDs are being deleted.
snapshot_time: Option<Timestamp>
The timestamp that corresponds to the version of the database that is being read to get the list of documents to delete. This time can also be used as the timestamp of PITR in case of disaster recovery (subject to PITR window limit).
Implementations§
source§impl BulkDeleteDocumentsMetadata
impl BulkDeleteDocumentsMetadata
sourcepub fn operation_state(&self) -> OperationState
pub fn operation_state(&self) -> OperationState
Returns the enum value of operation_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_operation_state(&mut self, value: OperationState)
pub fn set_operation_state(&mut self, value: OperationState)
Sets operation_state
to the provided enum value.
Trait Implementations§
source§impl Clone for BulkDeleteDocumentsMetadata
impl Clone for BulkDeleteDocumentsMetadata
source§fn clone(&self) -> BulkDeleteDocumentsMetadata
fn clone(&self) -> BulkDeleteDocumentsMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BulkDeleteDocumentsMetadata
impl Debug for BulkDeleteDocumentsMetadata
source§impl Message for BulkDeleteDocumentsMetadata
impl Message for BulkDeleteDocumentsMetadata
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 BulkDeleteDocumentsMetadata
impl PartialEq for BulkDeleteDocumentsMetadata
source§fn eq(&self, other: &BulkDeleteDocumentsMetadata) -> bool
fn eq(&self, other: &BulkDeleteDocumentsMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BulkDeleteDocumentsMetadata
Auto Trait Implementations§
impl Freeze for BulkDeleteDocumentsMetadata
impl RefUnwindSafe for BulkDeleteDocumentsMetadata
impl Send for BulkDeleteDocumentsMetadata
impl Sync for BulkDeleteDocumentsMetadata
impl Unpin for BulkDeleteDocumentsMetadata
impl UnwindSafe for BulkDeleteDocumentsMetadata
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