Struct aws_sdk_ec2::model::SpotPrice [−][src]
#[non_exhaustive]pub struct SpotPrice {
pub availability_zone: Option<String>,
pub instance_type: Option<InstanceType>,
pub product_description: Option<RiProductDescription>,
pub spot_price: Option<String>,
pub timestamp: Option<DateTime>,
}
Expand description
Describes the maximum price per hour that you are willing to pay for a Spot Instance.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.availability_zone: Option<String>
The Availability Zone.
instance_type: Option<InstanceType>
The instance type.
product_description: Option<RiProductDescription>
A general description of the AMI.
spot_price: Option<String>
The maximum price per hour that you are willing to pay for a Spot Instance.
timestamp: Option<DateTime>
The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
Implementations
The Availability Zone.
The instance type.
A general description of the AMI.
The maximum price per hour that you are willing to pay for a Spot Instance.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SpotPrice
impl UnwindSafe for SpotPrice
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more