Struct rusoto_ec2::ScheduledInstanceAvailability
source · [−]pub struct ScheduledInstanceAvailability {Show 13 fields
pub availability_zone: Option<String>,
pub available_instance_count: Option<i64>,
pub first_slot_start_time: Option<String>,
pub hourly_price: Option<String>,
pub instance_type: Option<String>,
pub max_term_duration_in_days: Option<i64>,
pub min_term_duration_in_days: Option<i64>,
pub network_platform: Option<String>,
pub platform: Option<String>,
pub purchase_token: Option<String>,
pub recurrence: Option<ScheduledInstanceRecurrence>,
pub slot_duration_in_hours: Option<i64>,
pub total_scheduled_instance_hours: Option<i64>,
}
Expand description
Describes a schedule that is available for your Scheduled Instances.
Fields
availability_zone: Option<String>
The Availability Zone.
available_instance_count: Option<i64>
The number of available instances.
first_slot_start_time: Option<String>
The time period for the first schedule to start.
hourly_price: Option<String>
The hourly price for a single instance.
instance_type: Option<String>
The instance type. You can specify one of the C3, C4, M4, or R3 instance types.
max_term_duration_in_days: Option<i64>
The maximum term. The only possible value is 365 days.
min_term_duration_in_days: Option<i64>
The minimum term. The only possible value is 365 days.
network_platform: Option<String>
The network platform (EC2-Classic
or EC2-VPC
).
platform: Option<String>
The platform (Linux/UNIX
or Windows
).
purchase_token: Option<String>
The purchase token. This token expires in two hours.
recurrence: Option<ScheduledInstanceRecurrence>
The schedule recurrence.
slot_duration_in_hours: Option<i64>
The number of hours in the schedule.
total_scheduled_instance_hours: Option<i64>
The total number of hours for a single instance for the entire term.
Trait Implementations
sourceimpl Clone for ScheduledInstanceAvailability
impl Clone for ScheduledInstanceAvailability
sourcefn clone(&self) -> ScheduledInstanceAvailability
fn clone(&self) -> ScheduledInstanceAvailability
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 ScheduledInstanceAvailability
impl Debug for ScheduledInstanceAvailability
sourceimpl Default for ScheduledInstanceAvailability
impl Default for ScheduledInstanceAvailability
sourcefn default() -> ScheduledInstanceAvailability
fn default() -> ScheduledInstanceAvailability
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ScheduledInstanceAvailability> for ScheduledInstanceAvailability
impl PartialEq<ScheduledInstanceAvailability> for ScheduledInstanceAvailability
sourcefn eq(&self, other: &ScheduledInstanceAvailability) -> bool
fn eq(&self, other: &ScheduledInstanceAvailability) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ScheduledInstanceAvailability) -> bool
fn ne(&self, other: &ScheduledInstanceAvailability) -> bool
This method tests for !=
.
impl StructuralPartialEq for ScheduledInstanceAvailability
Auto Trait Implementations
impl RefUnwindSafe for ScheduledInstanceAvailability
impl Send for ScheduledInstanceAvailability
impl Sync for ScheduledInstanceAvailability
impl Unpin for ScheduledInstanceAvailability
impl UnwindSafe for ScheduledInstanceAvailability
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