#[non_exhaustive]pub struct NodeGroupOperationMetadata {
pub node_group_id: String,
pub cluster_uuid: String,
pub status: Option<ClusterOperationStatus>,
pub status_history: Vec<ClusterOperationStatus>,
pub operation_type: NodeGroupOperationType,
pub description: String,
pub labels: HashMap<String, String>,
pub warnings: Vec<String>,
/* private fields */
}Expand description
Metadata describing the node group 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.node_group_id: StringOutput only. Node group ID for the operation.
cluster_uuid: StringOutput only. Cluster UUID associated with the node group operation.
status: Option<ClusterOperationStatus>Output only. Current operation status.
status_history: Vec<ClusterOperationStatus>Output only. The previous operation status.
operation_type: NodeGroupOperationTypeThe operation type.
description: StringOutput only. Short description of operation.
labels: HashMap<String, String>Output only. Labels associated with the operation.
warnings: Vec<String>Output only. Errors encountered during operation execution.
Implementations§
Source§impl NodeGroupOperationMetadata
impl NodeGroupOperationMetadata
pub fn new() -> Self
Sourcepub fn set_node_group_id<T: Into<String>>(self, v: T) -> Self
pub fn set_node_group_id<T: Into<String>>(self, v: T) -> Self
Sets the value of node_group_id.
Sourcepub fn set_cluster_uuid<T: Into<String>>(self, v: T) -> Self
pub fn set_cluster_uuid<T: Into<String>>(self, v: T) -> Self
Sets the value of cluster_uuid.
Sourcepub fn set_status<T>(self, v: T) -> Selfwhere
T: Into<ClusterOperationStatus>,
pub fn set_status<T>(self, v: T) -> Selfwhere
T: Into<ClusterOperationStatus>,
Sets the value of status.
Sourcepub fn set_or_clear_status<T>(self, v: Option<T>) -> Selfwhere
T: Into<ClusterOperationStatus>,
pub fn set_or_clear_status<T>(self, v: Option<T>) -> Selfwhere
T: Into<ClusterOperationStatus>,
Sets or clears the value of status.
Sourcepub fn set_status_history<T, V>(self, v: T) -> Self
pub fn set_status_history<T, V>(self, v: T) -> Self
Sets the value of status_history.
Sourcepub fn set_operation_type<T: Into<NodeGroupOperationType>>(self, v: T) -> Self
pub fn set_operation_type<T: Into<NodeGroupOperationType>>(self, v: T) -> Self
Sets the value of operation_type.
Sourcepub fn set_description<T: Into<String>>(self, v: T) -> Self
pub fn set_description<T: Into<String>>(self, v: T) -> Self
Sets the value of description.
Sourcepub fn set_labels<T, K, V>(self, v: T) -> Self
pub fn set_labels<T, K, V>(self, v: T) -> Self
Sets the value of labels.
Sourcepub fn set_warnings<T, V>(self, v: T) -> Self
pub fn set_warnings<T, V>(self, v: T) -> Self
Sets the value of warnings.
Trait Implementations§
Source§impl Clone for NodeGroupOperationMetadata
impl Clone for NodeGroupOperationMetadata
Source§fn clone(&self) -> NodeGroupOperationMetadata
fn clone(&self) -> NodeGroupOperationMetadata
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 NodeGroupOperationMetadata
impl Debug for NodeGroupOperationMetadata
Source§impl Default for NodeGroupOperationMetadata
impl Default for NodeGroupOperationMetadata
Source§fn default() -> NodeGroupOperationMetadata
fn default() -> NodeGroupOperationMetadata
Returns the “default value” for a type. Read more
Source§impl Message for NodeGroupOperationMetadata
impl Message for NodeGroupOperationMetadata
impl StructuralPartialEq for NodeGroupOperationMetadata
Auto Trait Implementations§
impl Freeze for NodeGroupOperationMetadata
impl RefUnwindSafe for NodeGroupOperationMetadata
impl Send for NodeGroupOperationMetadata
impl Sync for NodeGroupOperationMetadata
impl Unpin for NodeGroupOperationMetadata
impl UnwindSafe for NodeGroupOperationMetadata
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