pub struct ModifySpotFleetRequestRequest {
pub excess_capacity_termination_policy: Option<String>,
pub on_demand_target_capacity: Option<i64>,
pub spot_fleet_request_id: String,
pub target_capacity: Option<i64>,
}Expand description
Contains the parameters for ModifySpotFleetRequest.
Fields§
§excess_capacity_termination_policy: Option<String>Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.
on_demand_target_capacity: Option<i64>The number of On-Demand Instances in the fleet.
spot_fleet_request_id: StringThe ID of the Spot Fleet request.
target_capacity: Option<i64>The size of the fleet.
Trait Implementations§
Source§impl Clone for ModifySpotFleetRequestRequest
impl Clone for ModifySpotFleetRequestRequest
Source§fn clone(&self) -> ModifySpotFleetRequestRequest
fn clone(&self) -> ModifySpotFleetRequestRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ModifySpotFleetRequestRequest
impl Default for ModifySpotFleetRequestRequest
Source§fn default() -> ModifySpotFleetRequestRequest
fn default() -> ModifySpotFleetRequestRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModifySpotFleetRequestRequest
impl PartialEq for ModifySpotFleetRequestRequest
Source§fn eq(&self, other: &ModifySpotFleetRequestRequest) -> bool
fn eq(&self, other: &ModifySpotFleetRequestRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModifySpotFleetRequestRequest
Auto Trait Implementations§
impl Freeze for ModifySpotFleetRequestRequest
impl RefUnwindSafe for ModifySpotFleetRequestRequest
impl Send for ModifySpotFleetRequestRequest
impl Sync for ModifySpotFleetRequestRequest
impl Unpin for ModifySpotFleetRequestRequest
impl UnwindSafe for ModifySpotFleetRequestRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more