Struct gapi_grpc::google::spanner::admin::database::v1::CreateBackupMetadata[][src]

pub struct CreateBackupMetadata {
    pub name: String,
    pub database: String,
    pub progress: Option<OperationProgress>,
    pub cancel_time: Option<Timestamp>,
}

Metadata type for the operation returned by [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].

Fields

name: String

The name of the backup being created.

database: String

The name of the database the backup is created from.

progress: Option<OperationProgress>

The progress of the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.

cancel_time: Option<Timestamp>

The time at which cancellation of this operation was received. [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to Code.CANCELLED.

Trait Implementations

impl Clone for CreateBackupMetadata[src]

impl Debug for CreateBackupMetadata[src]

impl Default for CreateBackupMetadata[src]

impl Message for CreateBackupMetadata[src]

impl PartialEq<CreateBackupMetadata> for CreateBackupMetadata[src]

impl StructuralPartialEq for CreateBackupMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateBackupMetadata

impl Send for CreateBackupMetadata

impl Sync for CreateBackupMetadata

impl Unpin for CreateBackupMetadata

impl UnwindSafe for CreateBackupMetadata

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]