pub struct ScheduledInstanceAvailability {
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>,
}
Describes a schedule that is available for your Scheduled Instances.
The number of available instances.
The time period for the first schedule to start.
The hourly price for a single instance.
The instance type. You can specify one of the C3, C4, M4, or R3 instance types.
The maximum term. The only possible value is 365 days.
The minimum term. The only possible value is 365 days.
The network platform (EC2-Classic
or EC2-VPC
).
The platform (Linux/UNIX
or Windows
).
The purchase token. This token expires in two hours.
The number of hours in the schedule.
The total number of hours for a single instance for the entire term.
Performs copy-assignment from source
. 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 !=
.
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static