#[non_exhaustive]pub struct ListFindingsMetricsInput {
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub start_date: Option<DateTime>,
pub end_date: Option<DateTime>,
}
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.next_token: Option<String>
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken
value returned from the previous request to continue listing results after the first page.
max_results: Option<i32>
The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken
element is returned in the response. Use nextToken
in a subsequent request to retrieve additional results. If not specified, returns 1000 results.
start_date: Option<DateTime>
The start date of the interval which you want to retrieve metrics from. Rounds to the nearest day.
end_date: Option<DateTime>
The end date of the interval which you want to retrieve metrics from. Round to the nearest day.
Implementations§
source§impl ListFindingsMetricsInput
impl ListFindingsMetricsInput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken
value returned from the previous request to continue listing results after the first page.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken
element is returned in the response. Use nextToken
in a subsequent request to retrieve additional results. If not specified, returns 1000 results.
sourcepub fn start_date(&self) -> Option<&DateTime>
pub fn start_date(&self) -> Option<&DateTime>
The start date of the interval which you want to retrieve metrics from. Rounds to the nearest day.
source§impl ListFindingsMetricsInput
impl ListFindingsMetricsInput
sourcepub fn builder() -> ListFindingsMetricsInputBuilder
pub fn builder() -> ListFindingsMetricsInputBuilder
Creates a new builder-style object to manufacture ListFindingsMetricsInput
.
Trait Implementations§
source§impl Clone for ListFindingsMetricsInput
impl Clone for ListFindingsMetricsInput
source§fn clone(&self) -> ListFindingsMetricsInput
fn clone(&self) -> ListFindingsMetricsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListFindingsMetricsInput
impl Debug for ListFindingsMetricsInput
source§impl PartialEq for ListFindingsMetricsInput
impl PartialEq for ListFindingsMetricsInput
source§fn eq(&self, other: &ListFindingsMetricsInput) -> bool
fn eq(&self, other: &ListFindingsMetricsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListFindingsMetricsInput
Auto Trait Implementations§
impl Freeze for ListFindingsMetricsInput
impl RefUnwindSafe for ListFindingsMetricsInput
impl Send for ListFindingsMetricsInput
impl Sync for ListFindingsMetricsInput
impl Unpin for ListFindingsMetricsInput
impl UnwindSafe for ListFindingsMetricsInput
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> 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