Struct rusoto_emr::AutoScalingPolicyStateChangeReason [−][src]
pub struct AutoScalingPolicyStateChangeReason { pub code: Option<String>, pub message: Option<String>, }
The reason for an AutoScalingPolicyStatus change.
Fields
code: Option<String>
The code indicating the reason for the change in status.USER_REQUEST
indicates that the scaling policy status was changed by a user. PROVISION_FAILURE
indicates that the status change was because the policy failed to provision. CLEANUP_FAILURE
indicates an error.
message: Option<String>
A friendly, more verbose message that accompanies an automatic scaling policy state change.
Trait Implementations
impl Default for AutoScalingPolicyStateChangeReason
[src]
impl Default for AutoScalingPolicyStateChangeReason
fn default() -> AutoScalingPolicyStateChangeReason
[src]
fn default() -> AutoScalingPolicyStateChangeReason
Returns the "default value" for a type. Read more
impl Debug for AutoScalingPolicyStateChangeReason
[src]
impl Debug for AutoScalingPolicyStateChangeReason
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for AutoScalingPolicyStateChangeReason
[src]
impl Clone for AutoScalingPolicyStateChangeReason
fn clone(&self) -> AutoScalingPolicyStateChangeReason
[src]
fn clone(&self) -> AutoScalingPolicyStateChangeReason
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for AutoScalingPolicyStateChangeReason
[src]
impl PartialEq for AutoScalingPolicyStateChangeReason
fn eq(&self, other: &AutoScalingPolicyStateChangeReason) -> bool
[src]
fn eq(&self, other: &AutoScalingPolicyStateChangeReason) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AutoScalingPolicyStateChangeReason) -> bool
[src]
fn ne(&self, other: &AutoScalingPolicyStateChangeReason) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for AutoScalingPolicyStateChangeReason
impl Send for AutoScalingPolicyStateChangeReason
impl Sync for AutoScalingPolicyStateChangeReason
impl Sync for AutoScalingPolicyStateChangeReason