Struct aws_sdk_eks::types::ClientStat
source · #[non_exhaustive]pub struct ClientStat {
pub user_agent: Option<String>,
pub number_of_requests_last30_days: i32,
pub last_request_time: Option<DateTime>,
}
Expand description
Details about clients using the deprecated resources.
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.user_agent: Option<String>
The user agent of the Kubernetes client using the deprecated resource.
number_of_requests_last30_days: i32
The number of requests from the Kubernetes client seen over the last 30 days.
last_request_time: Option<DateTime>
The timestamp of the last request seen from the Kubernetes client.
Implementations§
source§impl ClientStat
impl ClientStat
sourcepub fn user_agent(&self) -> Option<&str>
pub fn user_agent(&self) -> Option<&str>
The user agent of the Kubernetes client using the deprecated resource.
sourcepub fn number_of_requests_last30_days(&self) -> i32
pub fn number_of_requests_last30_days(&self) -> i32
The number of requests from the Kubernetes client seen over the last 30 days.
sourcepub fn last_request_time(&self) -> Option<&DateTime>
pub fn last_request_time(&self) -> Option<&DateTime>
The timestamp of the last request seen from the Kubernetes client.
source§impl ClientStat
impl ClientStat
sourcepub fn builder() -> ClientStatBuilder
pub fn builder() -> ClientStatBuilder
Creates a new builder-style object to manufacture ClientStat
.
Trait Implementations§
source§impl Clone for ClientStat
impl Clone for ClientStat
source§fn clone(&self) -> ClientStat
fn clone(&self) -> ClientStat
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 ClientStat
impl Debug for ClientStat
source§impl PartialEq for ClientStat
impl PartialEq for ClientStat
source§fn eq(&self, other: &ClientStat) -> bool
fn eq(&self, other: &ClientStat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientStat
Auto Trait Implementations§
impl Freeze for ClientStat
impl RefUnwindSafe for ClientStat
impl Send for ClientStat
impl Sync for ClientStat
impl Unpin for ClientStat
impl UnwindSafe for ClientStat
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.