Struct gapi_grpc::google::firestore::admin::v1::IndexOperationMetadata [−][src]
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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,