Struct aws_sdk_eks::types::DeprecationDetail
source · #[non_exhaustive]pub struct DeprecationDetail {
pub usage: Option<String>,
pub replaced_with: Option<String>,
pub stop_serving_version: Option<String>,
pub start_serving_replacement_version: Option<String>,
pub client_stats: Option<Vec<ClientStat>>,
}Expand description
The summary information about deprecated resource usage for an insight check in the UPGRADE_READINESS category.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.usage: Option<String>The deprecated version of the resource.
replaced_with: Option<String>The newer version of the resource to migrate to if applicable.
stop_serving_version: Option<String>The version of the software where the deprecated resource version will stop being served.
start_serving_replacement_version: Option<String>The version of the software where the newer resource version became available to migrate to if applicable.
client_stats: Option<Vec<ClientStat>>Details about Kubernetes clients using the deprecated resources.
Implementations§
source§impl DeprecationDetail
impl DeprecationDetail
sourcepub fn replaced_with(&self) -> Option<&str>
pub fn replaced_with(&self) -> Option<&str>
The newer version of the resource to migrate to if applicable.
sourcepub fn stop_serving_version(&self) -> Option<&str>
pub fn stop_serving_version(&self) -> Option<&str>
The version of the software where the deprecated resource version will stop being served.
sourcepub fn start_serving_replacement_version(&self) -> Option<&str>
pub fn start_serving_replacement_version(&self) -> Option<&str>
The version of the software where the newer resource version became available to migrate to if applicable.
sourcepub fn client_stats(&self) -> &[ClientStat]
pub fn client_stats(&self) -> &[ClientStat]
Details about Kubernetes clients using the deprecated resources.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .client_stats.is_none().
source§impl DeprecationDetail
impl DeprecationDetail
sourcepub fn builder() -> DeprecationDetailBuilder
pub fn builder() -> DeprecationDetailBuilder
Creates a new builder-style object to manufacture DeprecationDetail.
Trait Implementations§
source§impl Clone for DeprecationDetail
impl Clone for DeprecationDetail
source§fn clone(&self) -> DeprecationDetail
fn clone(&self) -> DeprecationDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeprecationDetail
impl Debug for DeprecationDetail
source§impl PartialEq for DeprecationDetail
impl PartialEq for DeprecationDetail
source§fn eq(&self, other: &DeprecationDetail) -> bool
fn eq(&self, other: &DeprecationDetail) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeprecationDetail
Auto Trait Implementations§
impl Freeze for DeprecationDetail
impl RefUnwindSafe for DeprecationDetail
impl Send for DeprecationDetail
impl Sync for DeprecationDetail
impl Unpin for DeprecationDetail
impl UnwindSafe for DeprecationDetail
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more