Struct google_api_proto::google::spanner::admin::database::v1::UpdateDatabaseDdlMetadata
source · pub struct UpdateDatabaseDdlMetadata {
pub database: String,
pub statements: Vec<String>,
pub commit_timestamps: Vec<Timestamp>,
pub throttled: bool,
pub progress: Vec<OperationProgress>,
pub actions: Vec<DdlStatementActionInfo>,
}
Expand description
Metadata type for the operation returned by [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
Fields§
§database: String
The database being modified.
statements: Vec<String>
For an update this list contains all the statements. For an individual statement, this list contains only that statement.
commit_timestamps: Vec<Timestamp>
Reports the commit timestamps of all statements that have
succeeded so far, where commit_timestamps\[i\]
is the commit
timestamp for the statement statements\[i\]
.
throttled: bool
Output only. When true, indicates that the operation is throttled e.g. due to resource constraints. When resources become available the operation will resume and this field will be false again.
progress: Vec<OperationProgress>
The progress of the
[UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]
operations. All DDL statements will have continuously updating progress,
and progress\[i\]
is the operation progress for statements\[i\]
. Also,
progress\[i\]
will have start time and end time populated with commit
timestamp of operation, as well as a progress of 100% once the operation
has completed.
actions: Vec<DdlStatementActionInfo>
The brief action info for the DDL statements.
actions\[i\]
is the brief info for statements\[i\]
.
Trait Implementations§
source§impl Clone for UpdateDatabaseDdlMetadata
impl Clone for UpdateDatabaseDdlMetadata
source§fn clone(&self) -> UpdateDatabaseDdlMetadata
fn clone(&self) -> UpdateDatabaseDdlMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateDatabaseDdlMetadata
impl Debug for UpdateDatabaseDdlMetadata
source§impl Default for UpdateDatabaseDdlMetadata
impl Default for UpdateDatabaseDdlMetadata
source§impl Message for UpdateDatabaseDdlMetadata
impl Message for UpdateDatabaseDdlMetadata
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 UpdateDatabaseDdlMetadata
impl PartialEq for UpdateDatabaseDdlMetadata
source§fn eq(&self, other: &UpdateDatabaseDdlMetadata) -> bool
fn eq(&self, other: &UpdateDatabaseDdlMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDatabaseDdlMetadata
Auto Trait Implementations§
impl Freeze for UpdateDatabaseDdlMetadata
impl RefUnwindSafe for UpdateDatabaseDdlMetadata
impl Send for UpdateDatabaseDdlMetadata
impl Sync for UpdateDatabaseDdlMetadata
impl Unpin for UpdateDatabaseDdlMetadata
impl UnwindSafe for UpdateDatabaseDdlMetadata
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