#[non_exhaustive]pub struct InstanceManagedByIgmErrorManagedInstanceError {
pub code: Option<String>,
pub message: Option<String>,
/* private fields */
}Available on crate features
instance-group-managers or region-instance-group-managers only.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.code: Option<String>Output only. [Output Only] Error code.
message: Option<String>Output only. [Output Only] Error message.
Implementations§
Source§impl InstanceManagedByIgmErrorManagedInstanceError
impl InstanceManagedByIgmErrorManagedInstanceError
pub fn new() -> Self
Sourcepub fn set_or_clear_code<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_code<T>(self, v: Option<T>) -> Self
Sourcepub fn set_message<T>(self, v: T) -> Self
pub fn set_message<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_message<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_message<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for InstanceManagedByIgmErrorManagedInstanceError
impl Clone for InstanceManagedByIgmErrorManagedInstanceError
Source§fn clone(&self) -> InstanceManagedByIgmErrorManagedInstanceError
fn clone(&self) -> InstanceManagedByIgmErrorManagedInstanceError
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 Default for InstanceManagedByIgmErrorManagedInstanceError
impl Default for InstanceManagedByIgmErrorManagedInstanceError
Source§fn default() -> InstanceManagedByIgmErrorManagedInstanceError
fn default() -> InstanceManagedByIgmErrorManagedInstanceError
Returns the “default value” for a type. Read more
Source§impl PartialEq for InstanceManagedByIgmErrorManagedInstanceError
impl PartialEq for InstanceManagedByIgmErrorManagedInstanceError
Source§fn eq(&self, other: &InstanceManagedByIgmErrorManagedInstanceError) -> bool
fn eq(&self, other: &InstanceManagedByIgmErrorManagedInstanceError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InstanceManagedByIgmErrorManagedInstanceError
Auto Trait Implementations§
impl Freeze for InstanceManagedByIgmErrorManagedInstanceError
impl RefUnwindSafe for InstanceManagedByIgmErrorManagedInstanceError
impl Send for InstanceManagedByIgmErrorManagedInstanceError
impl Sync for InstanceManagedByIgmErrorManagedInstanceError
impl Unpin for InstanceManagedByIgmErrorManagedInstanceError
impl UnwindSafe for InstanceManagedByIgmErrorManagedInstanceError
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