logo
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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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