Struct gapi_grpc::google::firestore::admin::v1beta2::FieldOperationMetadata[][src]

pub struct FieldOperationMetadata {
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub field: String,
    pub index_config_deltas: Vec<IndexConfigDelta>,
    pub state: i32,
    pub document_progress: Option<Progress>,
    pub bytes_progress: Option<Progress>,
}

Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField].

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.

field: String

The field resource that this operation is acting on. For example: projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}

index_config_deltas: Vec<IndexConfigDelta>

A list of [IndexConfigDelta][google.firestore.admin.v1beta2.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this operation.

state: i32

The state of the operation.

document_progress: Option<Progress>

The progress, in documents, of this operation.

bytes_progress: Option<Progress>

The progress, in bytes, of this operation.

Implementations

impl FieldOperationMetadata[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 FieldOperationMetadata[src]

impl Debug for FieldOperationMetadata[src]

impl Default for FieldOperationMetadata[src]

impl Message for FieldOperationMetadata[src]

impl PartialEq<FieldOperationMetadata> for FieldOperationMetadata[src]

impl StructuralPartialEq for FieldOperationMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for FieldOperationMetadata

impl Send for FieldOperationMetadata

impl Sync for FieldOperationMetadata

impl Unpin for FieldOperationMetadata

impl UnwindSafe for FieldOperationMetadata

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]