#[non_exhaustive]pub struct UpdateDatabaseMetadata {
pub request: Option<UpdateDatabaseRequest>,
pub progress: Option<OperationProgress>,
pub cancel_time: Option<Timestamp>,
}
Expand description
Metadata type for the operation returned by UpdateDatabase.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.request: Option<UpdateDatabaseRequest>
The request for UpdateDatabase.
progress: Option<OperationProgress>
The progress of the UpdateDatabase operation.
cancel_time: Option<Timestamp>
The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is best-effort).
Implementations§
Source§impl UpdateDatabaseMetadata
impl UpdateDatabaseMetadata
pub fn new() -> Self
Sourcepub fn set_request<T: Into<Option<UpdateDatabaseRequest>>>(self, v: T) -> Self
pub fn set_request<T: Into<Option<UpdateDatabaseRequest>>>(self, v: T) -> Self
Sets the value of request.
Sourcepub fn set_progress<T: Into<Option<OperationProgress>>>(self, v: T) -> Self
pub fn set_progress<T: Into<Option<OperationProgress>>>(self, v: T) -> Self
Sets the value of progress.
Sourcepub fn set_cancel_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_cancel_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of cancel_time.
Trait Implementations§
Source§impl Clone for UpdateDatabaseMetadata
impl Clone for UpdateDatabaseMetadata
Source§fn clone(&self) -> UpdateDatabaseMetadata
fn clone(&self) -> UpdateDatabaseMetadata
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateDatabaseMetadata
impl Debug for UpdateDatabaseMetadata
Source§impl Default for UpdateDatabaseMetadata
impl Default for UpdateDatabaseMetadata
Source§fn default() -> UpdateDatabaseMetadata
fn default() -> UpdateDatabaseMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateDatabaseMetadatawhere
UpdateDatabaseMetadata: Default,
impl<'de> Deserialize<'de> for UpdateDatabaseMetadatawhere
UpdateDatabaseMetadata: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for UpdateDatabaseMetadata
impl Message for UpdateDatabaseMetadata
Source§impl PartialEq for UpdateDatabaseMetadata
impl PartialEq for UpdateDatabaseMetadata
Source§impl Serialize for UpdateDatabaseMetadata
impl Serialize for UpdateDatabaseMetadata
impl StructuralPartialEq for UpdateDatabaseMetadata
Auto Trait Implementations§
impl Freeze for UpdateDatabaseMetadata
impl RefUnwindSafe for UpdateDatabaseMetadata
impl Send for UpdateDatabaseMetadata
impl Sync for UpdateDatabaseMetadata
impl Unpin for UpdateDatabaseMetadata
impl UnwindSafe for UpdateDatabaseMetadata
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
Mutably borrows from an owned value. Read more