Struct rusoto_autoscaling_plans::ScalingPlan
source · [−]pub struct ScalingPlan {
pub application_source: ApplicationSource,
pub creation_time: Option<f64>,
pub scaling_instructions: Vec<ScalingInstruction>,
pub scaling_plan_name: String,
pub scaling_plan_version: i64,
pub status_code: String,
pub status_message: Option<String>,
pub status_start_time: Option<f64>,
}
Expand description
Represents a scaling plan.
Fields
application_source: ApplicationSource
A CloudFormation stack or a set of tags. You can create one scaling plan per application source.
creation_time: Option<f64>
The Unix time stamp when the scaling plan was created.
scaling_instructions: Vec<ScalingInstruction>
The scaling instructions.
scaling_plan_name: String
The name of the scaling plan.
scaling_plan_version: i64
The version number of the scaling plan.
status_code: String
The status of the scaling plan.
-
Active
- The scaling plan is active. -
ActiveWithProblems
- The scaling plan is active, but the scaling configuration for one or more resources could not be applied. -
CreationInProgress
- The scaling plan is being created. -
CreationFailed
- The scaling plan could not be created. -
DeletionInProgress
- The scaling plan is being deleted. -
DeletionFailed
- The scaling plan could not be deleted. -
UpdateInProgress
- The scaling plan is being updated. -
UpdateFailed
- The scaling plan could not be updated.
status_message: Option<String>
A simple message about the current status of the scaling plan.
status_start_time: Option<f64>
The Unix time stamp when the scaling plan entered the current status.
Trait Implementations
sourceimpl Clone for ScalingPlan
impl Clone for ScalingPlan
sourcefn clone(&self) -> ScalingPlan
fn clone(&self) -> ScalingPlan
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ScalingPlan
impl Debug for ScalingPlan
sourceimpl Default for ScalingPlan
impl Default for ScalingPlan
sourcefn default() -> ScalingPlan
fn default() -> ScalingPlan
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ScalingPlan
impl<'de> Deserialize<'de> for ScalingPlan
sourcefn 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
sourceimpl PartialEq<ScalingPlan> for ScalingPlan
impl PartialEq<ScalingPlan> for ScalingPlan
sourcefn eq(&self, other: &ScalingPlan) -> bool
fn eq(&self, other: &ScalingPlan) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ScalingPlan) -> bool
fn ne(&self, other: &ScalingPlan) -> bool
This method tests for !=
.
impl StructuralPartialEq for ScalingPlan
Auto Trait Implementations
impl RefUnwindSafe for ScalingPlan
impl Send for ScalingPlan
impl Sync for ScalingPlan
impl Unpin for ScalingPlan
impl UnwindSafe for ScalingPlan
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more