Struct rusoto_gamelift::UpdateFleetCapacityInput
source · [−]pub struct UpdateFleetCapacityInput {
pub desired_instances: Option<i64>,
pub fleet_id: String,
pub location: Option<String>,
pub max_size: Option<i64>,
pub min_size: Option<i64>,
}
Expand description
Represents the input for a request operation.
Fields
desired_instances: Option<i64>
The number of EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits.
fleet_id: String
A unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN value.
location: Option<String>
The name of a remote location to update fleet capacity settings for, in the form of an AWS Region code such as us-west-2
.
max_size: Option<i64>
The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.
min_size: Option<i64>
The minimum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 0.
Trait Implementations
sourceimpl Clone for UpdateFleetCapacityInput
impl Clone for UpdateFleetCapacityInput
sourcefn clone(&self) -> UpdateFleetCapacityInput
fn clone(&self) -> UpdateFleetCapacityInput
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 UpdateFleetCapacityInput
impl Debug for UpdateFleetCapacityInput
sourceimpl Default for UpdateFleetCapacityInput
impl Default for UpdateFleetCapacityInput
sourcefn default() -> UpdateFleetCapacityInput
fn default() -> UpdateFleetCapacityInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateFleetCapacityInput> for UpdateFleetCapacityInput
impl PartialEq<UpdateFleetCapacityInput> for UpdateFleetCapacityInput
sourcefn eq(&self, other: &UpdateFleetCapacityInput) -> bool
fn eq(&self, other: &UpdateFleetCapacityInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateFleetCapacityInput) -> bool
fn ne(&self, other: &UpdateFleetCapacityInput) -> bool
This method tests for !=
.
sourceimpl Serialize for UpdateFleetCapacityInput
impl Serialize for UpdateFleetCapacityInput
impl StructuralPartialEq for UpdateFleetCapacityInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateFleetCapacityInput
impl Send for UpdateFleetCapacityInput
impl Sync for UpdateFleetCapacityInput
impl Unpin for UpdateFleetCapacityInput
impl UnwindSafe for UpdateFleetCapacityInput
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