pub struct TaskGroupScaleStatusBuilder { /* private fields */ }
Expand description
Builder for TaskGroupScaleStatus
.
Implementations§
Source§impl TaskGroupScaleStatusBuilder
impl TaskGroupScaleStatusBuilder
pub fn running(&mut self, value: i64) -> &mut Self
pub fn healthy(&mut self, value: i64) -> &mut Self
pub fn unhealthy(&mut self, value: i64) -> &mut Self
pub fn events(&mut self, value: Vec<ScalingEvent>) -> &mut Self
pub fn desired(&mut self, value: i64) -> &mut Self
pub fn placed(&mut self, value: i64) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<TaskGroupScaleStatus, TaskGroupScaleStatusBuilderError>
pub fn build( &self, ) -> Result<TaskGroupScaleStatus, TaskGroupScaleStatusBuilderError>
Trait Implementations§
Source§impl Clone for TaskGroupScaleStatusBuilder
impl Clone for TaskGroupScaleStatusBuilder
Source§fn clone(&self) -> TaskGroupScaleStatusBuilder
fn clone(&self) -> TaskGroupScaleStatusBuilder
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 moreAuto Trait Implementations§
impl Freeze for TaskGroupScaleStatusBuilder
impl RefUnwindSafe for TaskGroupScaleStatusBuilder
impl Send for TaskGroupScaleStatusBuilder
impl Sync for TaskGroupScaleStatusBuilder
impl Unpin for TaskGroupScaleStatusBuilder
impl UnwindSafe for TaskGroupScaleStatusBuilder
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