#[non_exhaustive]pub struct ContainerRecommendation { /* private fields */ }Expand description
The CPU and memory recommendations for a container within the tasks of your Amazon ECS service.
Implementations§
source§impl ContainerRecommendation
impl ContainerRecommendation
sourcepub fn container_name(&self) -> Option<&str>
pub fn container_name(&self) -> Option<&str>
The name of the container.
sourcepub fn memory_size_configuration(&self) -> Option<&MemorySizeConfiguration>
pub fn memory_size_configuration(&self) -> Option<&MemorySizeConfiguration>
The recommended memory size configurations for the container.
source§impl ContainerRecommendation
impl ContainerRecommendation
sourcepub fn builder() -> ContainerRecommendationBuilder
pub fn builder() -> ContainerRecommendationBuilder
Creates a new builder-style object to manufacture ContainerRecommendation.
Trait Implementations§
source§impl Clone for ContainerRecommendation
impl Clone for ContainerRecommendation
source§fn clone(&self) -> ContainerRecommendation
fn clone(&self) -> ContainerRecommendation
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 ContainerRecommendation
impl Debug for ContainerRecommendation
source§impl PartialEq<ContainerRecommendation> for ContainerRecommendation
impl PartialEq<ContainerRecommendation> for ContainerRecommendation
source§fn eq(&self, other: &ContainerRecommendation) -> bool
fn eq(&self, other: &ContainerRecommendation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ContainerRecommendation
Auto Trait Implementations§
impl RefUnwindSafe for ContainerRecommendation
impl Send for ContainerRecommendation
impl Sync for ContainerRecommendation
impl Unpin for ContainerRecommendation
impl UnwindSafe for ContainerRecommendation
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