Struct aws_sdk_appstream::types::ComputeCapacity
source · #[non_exhaustive]pub struct ComputeCapacity {
pub desired_instances: Option<i32>,
}
Expand description
Describes the capacity for a fleet.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.desired_instances: Option<i32>
The desired number of streaming instances.
Implementations§
source§impl ComputeCapacity
impl ComputeCapacity
sourcepub fn desired_instances(&self) -> Option<i32>
pub fn desired_instances(&self) -> Option<i32>
The desired number of streaming instances.
source§impl ComputeCapacity
impl ComputeCapacity
sourcepub fn builder() -> ComputeCapacityBuilder
pub fn builder() -> ComputeCapacityBuilder
Creates a new builder-style object to manufacture ComputeCapacity
.
Trait Implementations§
source§impl Clone for ComputeCapacity
impl Clone for ComputeCapacity
source§fn clone(&self) -> ComputeCapacity
fn clone(&self) -> ComputeCapacity
Returns a copy 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 Debug for ComputeCapacity
impl Debug for ComputeCapacity
source§impl PartialEq<ComputeCapacity> for ComputeCapacity
impl PartialEq<ComputeCapacity> for ComputeCapacity
source§fn eq(&self, other: &ComputeCapacity) -> bool
fn eq(&self, other: &ComputeCapacity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ComputeCapacity
Auto Trait Implementations§
impl RefUnwindSafe for ComputeCapacity
impl Send for ComputeCapacity
impl Sync for ComputeCapacity
impl Unpin for ComputeCapacity
impl UnwindSafe for ComputeCapacity
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