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

pub struct IndexOperationMetadata {
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub index: String,
    pub operation_type: i32,
    pub cancelled: bool,
    pub document_progress: Option<Progress>,
}

Metadata for index operations. This metadata populates the metadata field of [google.longrunning.Operation][google.longrunning.Operation].

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.

index: String

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

operation_type: i32

The type of index operation.

cancelled: bool

True if the [google.longrunning.Operation] was cancelled. If the cancellation is in progress, cancelled will be true but [google.longrunning.Operation.done][google.longrunning.Operation.done] will be false.

document_progress: Option<Progress>

Progress of the existing operation, measured in number of documents.

Implementations

impl IndexOperationMetadata[src]

pub fn operation_type(&self) -> OperationType[src]

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

pub fn set_operation_type(&mut self, value: OperationType)[src]

Sets operation_type 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]