Struct rusoto_ce::EC2InstanceDetails
source · [−]pub struct EC2InstanceDetails {
pub availability_zone: Option<String>,
pub current_generation: Option<bool>,
pub family: Option<String>,
pub instance_type: Option<String>,
pub platform: Option<String>,
pub region: Option<String>,
pub size_flex_eligible: Option<bool>,
pub tenancy: Option<String>,
}
Expand description
Details about the Amazon EC2 instances that AWS recommends that you purchase.
Fields
availability_zone: Option<String>
The Availability Zone of the recommended reservation.
current_generation: Option<bool>
Whether the recommendation is for a current-generation instance.
family: Option<String>
The instance family of the recommended reservation.
instance_type: Option<String>
The type of instance that AWS recommends.
platform: Option<String>
The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.
region: Option<String>
The AWS Region of the recommended reservation.
size_flex_eligible: Option<bool>
Whether the recommended reservation is size flexible.
tenancy: Option<String>
Whether the recommended reservation is dedicated or shared.
Trait Implementations
sourceimpl Clone for EC2InstanceDetails
impl Clone for EC2InstanceDetails
sourcefn clone(&self) -> EC2InstanceDetails
fn clone(&self) -> EC2InstanceDetails
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 EC2InstanceDetails
impl Debug for EC2InstanceDetails
sourceimpl Default for EC2InstanceDetails
impl Default for EC2InstanceDetails
sourcefn default() -> EC2InstanceDetails
fn default() -> EC2InstanceDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for EC2InstanceDetails
impl<'de> Deserialize<'de> for EC2InstanceDetails
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<EC2InstanceDetails> for EC2InstanceDetails
impl PartialEq<EC2InstanceDetails> for EC2InstanceDetails
sourcefn eq(&self, other: &EC2InstanceDetails) -> bool
fn eq(&self, other: &EC2InstanceDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EC2InstanceDetails) -> bool
fn ne(&self, other: &EC2InstanceDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for EC2InstanceDetails
Auto Trait Implementations
impl RefUnwindSafe for EC2InstanceDetails
impl Send for EC2InstanceDetails
impl Sync for EC2InstanceDetails
impl Unpin for EC2InstanceDetails
impl UnwindSafe for EC2InstanceDetails
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