Struct gapi_grpc::google::firestore::admin::v1::IndexOperationMetadata[][src]

pub struct IndexOperationMetadata {
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub index: String,
    pub state: i32,
    pub progress_documents: Option<Progress>,
    pub progress_bytes: Option<Progress>,
}

Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].

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.

index: String

The index resource that this operation is acting on. For example: projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}

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.

Implementations

impl IndexOperationMetadata[src]

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

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

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

Sets state to the provided enum value.

Trait Implementations

impl Clone for IndexOperationMetadata[src]

impl Debug for IndexOperationMetadata[src]

impl Default for IndexOperationMetadata[src]

impl Message for IndexOperationMetadata[src]

impl PartialEq<IndexOperationMetadata> for IndexOperationMetadata[src]

impl StructuralPartialEq for IndexOperationMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for IndexOperationMetadata

impl Send for IndexOperationMetadata

impl Sync for IndexOperationMetadata

impl Unpin for IndexOperationMetadata

impl UnwindSafe for IndexOperationMetadata

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]