Struct rusoto_ce::TargetInstance
source · [−]pub struct TargetInstance {
pub currency_code: Option<String>,
pub default_target_instance: Option<bool>,
pub estimated_monthly_cost: Option<String>,
pub estimated_monthly_savings: Option<String>,
pub expected_resource_utilization: Option<ResourceUtilization>,
pub platform_differences: Option<Vec<String>>,
pub resource_details: Option<ResourceDetails>,
}
Expand description
Details on recommended instance.
Fields
currency_code: Option<String>
The currency code that AWS used to calculate the costs for this instance.
default_target_instance: Option<bool>
Indicates whether this recommendation is the defaulted AWS recommendation.
estimated_monthly_cost: Option<String>
Expected cost to operate this instance type on a monthly basis.
estimated_monthly_savings: Option<String>
Estimated savings resulting from modification, on a monthly basis.
expected_resource_utilization: Option<ResourceUtilization>
Expected utilization metrics for target instance type.
platform_differences: Option<Vec<String>>
Explains the actions you might need to take in order to successfully migrate your workloads from the current instance type to the recommended instance type.
resource_details: Option<ResourceDetails>
Details on the target instance type.
Trait Implementations
sourceimpl Clone for TargetInstance
impl Clone for TargetInstance
sourcefn clone(&self) -> TargetInstance
fn clone(&self) -> TargetInstance
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 TargetInstance
impl Debug for TargetInstance
sourceimpl Default for TargetInstance
impl Default for TargetInstance
sourcefn default() -> TargetInstance
fn default() -> TargetInstance
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TargetInstance
impl<'de> Deserialize<'de> for TargetInstance
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<TargetInstance> for TargetInstance
impl PartialEq<TargetInstance> for TargetInstance
sourcefn eq(&self, other: &TargetInstance) -> bool
fn eq(&self, other: &TargetInstance) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TargetInstance) -> bool
fn ne(&self, other: &TargetInstance) -> bool
This method tests for !=
.
impl StructuralPartialEq for TargetInstance
Auto Trait Implementations
impl RefUnwindSafe for TargetInstance
impl Send for TargetInstance
impl Sync for TargetInstance
impl Unpin for TargetInstance
impl UnwindSafe for TargetInstance
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