Struct rusoto_ec2::ScheduledInstance
source · [−]pub struct ScheduledInstance {Show 15 fields
pub availability_zone: Option<String>,
pub create_date: Option<String>,
pub hourly_price: Option<String>,
pub instance_count: Option<i64>,
pub instance_type: Option<String>,
pub network_platform: Option<String>,
pub next_slot_start_time: Option<String>,
pub platform: Option<String>,
pub previous_slot_end_time: Option<String>,
pub recurrence: Option<ScheduledInstanceRecurrence>,
pub scheduled_instance_id: Option<String>,
pub slot_duration_in_hours: Option<i64>,
pub term_end_date: Option<String>,
pub term_start_date: Option<String>,
pub total_scheduled_instance_hours: Option<i64>,
}
Expand description
Describes a Scheduled Instance.
Fields
availability_zone: Option<String>
The Availability Zone.
create_date: Option<String>
The date when the Scheduled Instance was purchased.
hourly_price: Option<String>
The hourly price for a single instance.
instance_count: Option<i64>
The number of instances.
instance_type: Option<String>
The instance type.
network_platform: Option<String>
The network platform (EC2-Classic
or EC2-VPC
).
next_slot_start_time: Option<String>
The time for the next schedule to start.
platform: Option<String>
The platform (Linux/UNIX
or Windows
).
previous_slot_end_time: Option<String>
The time that the previous schedule ended or will end.
recurrence: Option<ScheduledInstanceRecurrence>
The schedule recurrence.
scheduled_instance_id: Option<String>
The Scheduled Instance ID.
slot_duration_in_hours: Option<i64>
The number of hours in the schedule.
term_end_date: Option<String>
The end date for the Scheduled Instance.
term_start_date: Option<String>
The start date for the Scheduled Instance.
total_scheduled_instance_hours: Option<i64>
The total number of hours for a single instance for the entire term.
Trait Implementations
sourceimpl Clone for ScheduledInstance
impl Clone for ScheduledInstance
sourcefn clone(&self) -> ScheduledInstance
fn clone(&self) -> ScheduledInstance
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 ScheduledInstance
impl Debug for ScheduledInstance
sourceimpl Default for ScheduledInstance
impl Default for ScheduledInstance
sourcefn default() -> ScheduledInstance
fn default() -> ScheduledInstance
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ScheduledInstance> for ScheduledInstance
impl PartialEq<ScheduledInstance> for ScheduledInstance
sourcefn eq(&self, other: &ScheduledInstance) -> bool
fn eq(&self, other: &ScheduledInstance) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ScheduledInstance) -> bool
fn ne(&self, other: &ScheduledInstance) -> bool
This method tests for !=
.
impl StructuralPartialEq for ScheduledInstance
Auto Trait Implementations
impl RefUnwindSafe for ScheduledInstance
impl Send for ScheduledInstance
impl Sync for ScheduledInstance
impl Unpin for ScheduledInstance
impl UnwindSafe for ScheduledInstance
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