#[non_exhaustive]pub struct ClusterOperationStatus {
pub state: State,
pub inner_state: String,
pub details: String,
pub state_start_time: Option<Timestamp>,
/* private fields */
}Expand description
The status of the operation.
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.state: StateOutput only. A message containing the operation state.
inner_state: StringOutput only. A message containing the detailed operation state.
details: StringOutput only. A message containing any operation metadata details.
state_start_time: Option<Timestamp>Output only. The time this state was entered.
Implementations§
Source§impl ClusterOperationStatus
impl ClusterOperationStatus
pub fn new() -> Self
Sourcepub fn set_inner_state<T: Into<String>>(self, v: T) -> Self
pub fn set_inner_state<T: Into<String>>(self, v: T) -> Self
Sets the value of inner_state.
Sourcepub fn set_details<T: Into<String>>(self, v: T) -> Self
pub fn set_details<T: Into<String>>(self, v: T) -> Self
Sets the value of details.
Sourcepub fn set_state_start_time<T>(self, v: T) -> Self
pub fn set_state_start_time<T>(self, v: T) -> Self
Sets the value of state_start_time.
Sourcepub fn set_or_clear_state_start_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_state_start_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of state_start_time.
Trait Implementations§
Source§impl Clone for ClusterOperationStatus
impl Clone for ClusterOperationStatus
Source§fn clone(&self) -> ClusterOperationStatus
fn clone(&self) -> ClusterOperationStatus
Returns a duplicate 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 ClusterOperationStatus
impl Debug for ClusterOperationStatus
Source§impl Default for ClusterOperationStatus
impl Default for ClusterOperationStatus
Source§fn default() -> ClusterOperationStatus
fn default() -> ClusterOperationStatus
Returns the “default value” for a type. Read more
Source§impl Message for ClusterOperationStatus
impl Message for ClusterOperationStatus
Source§impl PartialEq for ClusterOperationStatus
impl PartialEq for ClusterOperationStatus
impl StructuralPartialEq for ClusterOperationStatus
Auto Trait Implementations§
impl Freeze for ClusterOperationStatus
impl RefUnwindSafe for ClusterOperationStatus
impl Send for ClusterOperationStatus
impl Sync for ClusterOperationStatus
impl Unpin for ClusterOperationStatus
impl UnwindSafe for ClusterOperationStatus
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