[][src]Struct gcp_client::google::bigtable::admin::v2::RestoreTableMetadata

pub struct RestoreTableMetadata {
    pub name: String,
    pub source_type: i32,
    pub optimize_table_operation_name: String,
    pub progress: Option<OperationProgress>,
    pub source_info: Option<SourceInfo>,
}

Metadata type for the long-running operation returned by [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].

Fields

name: String

Name of the table being created and restored to.

source_type: i32

The type of the restore source.

optimize_table_operation_name: String

If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table. The metadata type of the long-running operation is [OptimizeRestoreTableMetadata][]. The response type is [Empty][google.protobuf.Empty]. This long-running operation may be automatically created by the system if applicable after the RestoreTable long-running operation completes successfully. This operation may not be created if the table is already optimized or the restore was not successful.

progress: Option<OperationProgress>

The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] operation.

source_info: Option<SourceInfo>

Information about the source used to restore the table, as specified by source in [RestoreTableRequest][google.bigtable.admin.v2.RestoreTableRequest].

Implementations

impl RestoreTableMetadata[src]

pub fn source_type(&self) -> RestoreSourceType[src]

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

pub fn set_source_type(&mut self, value: RestoreSourceType)[src]

Sets source_type to the provided enum value.

Trait Implementations

impl Clone for RestoreTableMetadata[src]

impl Debug for RestoreTableMetadata[src]

impl Default for RestoreTableMetadata[src]

impl Message for RestoreTableMetadata[src]

impl PartialEq<RestoreTableMetadata> for RestoreTableMetadata[src]

impl StructuralPartialEq for RestoreTableMetadata[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]