Struct google_cloud_googleapis::spanner::admin::database::v1::UpdateDatabaseDdlMetadata [−][src]
pub struct UpdateDatabaseDdlMetadata {
pub database: String,
pub statements: Vec<String>,
pub commit_timestamps: Vec<Timestamp>,
pub throttled: bool,
pub progress: Vec<OperationProgress>,
}Expand description
Metadata type for the operation returned by [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
Fields
database: StringThe 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: boolOutput 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.
Currently, only index creation statements will have a continuously
updating progress.
For non-index creation statements, 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.
progress\[i\] is the operation progress for statements\[i\].
Trait Implementations
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for UpdateDatabaseDdlMetadata
impl Send for UpdateDatabaseDdlMetadata
impl Sync for UpdateDatabaseDdlMetadata
impl Unpin for UpdateDatabaseDdlMetadata
impl UnwindSafe for UpdateDatabaseDdlMetadata
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more