Struct gapi_grpc::google::firestore::admin::v1beta1::ImportDocumentsMetadata[][src]

pub struct ImportDocumentsMetadata {
    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 input_uri_prefix: String,
}

Metadata for ImportDocuments operations.

Fields

start_time: Option<Timestamp>

The time that work began on the operation.

end_time: Option<Timestamp>

The time the operation ended, either successfully or otherwise. Unset if the operation is still active.

operation_state: i32

The state of the import operation.

progress_documents: Option<Progress>

An estimate of the number of documents processed.

progress_bytes: Option<Progress>

An estimate of the number of bytes processed.

collection_ids: Vec<String>

Which collection ids are being imported.

input_uri_prefix: String

The location of the documents being imported.

Implementations

impl ImportDocumentsMetadata[src]

pub fn operation_state(&self) -> OperationState[src]

Returns the enum value of operation_state, or the default if the field is set to an invalid enum value.

pub fn set_operation_state(&mut self, value: OperationState)[src]

Sets operation_state to the provided enum value.

Trait Implementations

impl Clone for ImportDocumentsMetadata[src]

impl Debug for ImportDocumentsMetadata[src]

impl Default for ImportDocumentsMetadata[src]

impl Message for ImportDocumentsMetadata[src]

impl PartialEq<ImportDocumentsMetadata> for ImportDocumentsMetadata[src]

impl StructuralPartialEq for ImportDocumentsMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for ImportDocumentsMetadata

impl Send for ImportDocumentsMetadata

impl Sync for ImportDocumentsMetadata

impl Unpin for ImportDocumentsMetadata

impl UnwindSafe for ImportDocumentsMetadata

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]