pub struct ClusterStateChangeReason {
pub code: Option<String>,
pub message: Option<String>,
}
Expand description
The reason that the cluster changed to its current state.
Fields§
§code: Option<String>
The programmatic code for the state change reason.
message: Option<String>
The descriptive message for the state change reason.
Trait Implementations§
Source§impl Clone for ClusterStateChangeReason
impl Clone for ClusterStateChangeReason
Source§fn clone(&self) -> ClusterStateChangeReason
fn clone(&self) -> ClusterStateChangeReason
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 ClusterStateChangeReason
impl Debug for ClusterStateChangeReason
Source§impl Default for ClusterStateChangeReason
impl Default for ClusterStateChangeReason
Source§fn default() -> ClusterStateChangeReason
fn default() -> ClusterStateChangeReason
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterStateChangeReason
impl<'de> Deserialize<'de> for ClusterStateChangeReason
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 PartialEq for ClusterStateChangeReason
impl PartialEq for ClusterStateChangeReason
impl StructuralPartialEq for ClusterStateChangeReason
Auto Trait Implementations§
impl Freeze for ClusterStateChangeReason
impl RefUnwindSafe for ClusterStateChangeReason
impl Send for ClusterStateChangeReason
impl Sync for ClusterStateChangeReason
impl Unpin for ClusterStateChangeReason
impl UnwindSafe for ClusterStateChangeReason
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