#[non_exhaustive]pub struct UpdateInstanceConfigMetadata {
pub instance_config: Option<InstanceConfig>,
pub progress: Option<OperationProgress>,
pub cancel_time: Option<Timestamp>,
/* private fields */
}
Expand description
Metadata type for the operation returned by UpdateInstanceConfig.
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.instance_config: Option<InstanceConfig>
The desired instance configuration after updating.
progress: Option<OperationProgress>
The progress of the UpdateInstanceConfig operation.
cancel_time: Option<Timestamp>
The time at which this operation was cancelled.
Implementations§
Source§impl UpdateInstanceConfigMetadata
impl UpdateInstanceConfigMetadata
pub fn new() -> Self
Sourcepub fn set_instance_config<T>(self, v: T) -> Selfwhere
T: Into<InstanceConfig>,
pub fn set_instance_config<T>(self, v: T) -> Selfwhere
T: Into<InstanceConfig>,
Sets the value of instance_config.
Sourcepub fn set_or_clear_instance_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<InstanceConfig>,
pub fn set_or_clear_instance_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<InstanceConfig>,
Sets or clears the value of instance_config.
Sourcepub fn set_progress<T>(self, v: T) -> Selfwhere
T: Into<OperationProgress>,
pub fn set_progress<T>(self, v: T) -> Selfwhere
T: Into<OperationProgress>,
Sets the value of progress.
Sourcepub fn set_or_clear_progress<T>(self, v: Option<T>) -> Selfwhere
T: Into<OperationProgress>,
pub fn set_or_clear_progress<T>(self, v: Option<T>) -> Selfwhere
T: Into<OperationProgress>,
Sets or clears the value of progress.
Sourcepub fn set_cancel_time<T>(self, v: T) -> Self
pub fn set_cancel_time<T>(self, v: T) -> Self
Sets the value of cancel_time.
Sourcepub fn set_or_clear_cancel_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_cancel_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of cancel_time.
Trait Implementations§
Source§impl Clone for UpdateInstanceConfigMetadata
impl Clone for UpdateInstanceConfigMetadata
Source§fn clone(&self) -> UpdateInstanceConfigMetadata
fn clone(&self) -> UpdateInstanceConfigMetadata
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 UpdateInstanceConfigMetadata
impl Debug for UpdateInstanceConfigMetadata
Source§impl Default for UpdateInstanceConfigMetadata
impl Default for UpdateInstanceConfigMetadata
Source§fn default() -> UpdateInstanceConfigMetadata
fn default() -> UpdateInstanceConfigMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateInstanceConfigMetadata
impl PartialEq for UpdateInstanceConfigMetadata
Source§fn eq(&self, other: &UpdateInstanceConfigMetadata) -> bool
fn eq(&self, other: &UpdateInstanceConfigMetadata) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateInstanceConfigMetadata
Auto Trait Implementations§
impl Freeze for UpdateInstanceConfigMetadata
impl RefUnwindSafe for UpdateInstanceConfigMetadata
impl Send for UpdateInstanceConfigMetadata
impl Sync for UpdateInstanceConfigMetadata
impl Unpin for UpdateInstanceConfigMetadata
impl UnwindSafe for UpdateInstanceConfigMetadata
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