Struct google_api_proto::google::spanner::admin::database::v1::CopyBackupMetadata
source · pub struct CopyBackupMetadata {
pub name: String,
pub source_backup: String,
pub progress: Option<OperationProgress>,
pub cancel_time: Option<Timestamp>,
}
Expand description
Metadata type for the operation returned by [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
Fields§
§name: String
The name of the backup being created through the copy operation.
Values are of the form
projects/<project>/instances/<instance>/backups/<backup>
.
source_backup: String
The name of the source backup that is being copied.
Values are of the form
projects/<project>/instances/<instance>/backups/<backup>
.
progress: Option<OperationProgress>
The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
cancel_time: Option<Timestamp>
The time at which cancellation of CopyBackup 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§
source§impl Clone for CopyBackupMetadata
impl Clone for CopyBackupMetadata
source§fn clone(&self) -> CopyBackupMetadata
fn clone(&self) -> CopyBackupMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CopyBackupMetadata
impl Debug for CopyBackupMetadata
source§impl Default for CopyBackupMetadata
impl Default for CopyBackupMetadata
source§impl Message for CopyBackupMetadata
impl Message for CopyBackupMetadata
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for CopyBackupMetadata
impl PartialEq for CopyBackupMetadata
source§fn eq(&self, other: &CopyBackupMetadata) -> bool
fn eq(&self, other: &CopyBackupMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CopyBackupMetadata
Auto Trait Implementations§
impl Freeze for CopyBackupMetadata
impl RefUnwindSafe for CopyBackupMetadata
impl Send for CopyBackupMetadata
impl Sync for CopyBackupMetadata
impl Unpin for CopyBackupMetadata
impl UnwindSafe for CopyBackupMetadata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request