#[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.
start_date: Option<DateTime>
The start date of the interval which you want to retrieve metrics from.
end_date: Option<DateTime>
The end date of the interval which you want to retrieve metrics from.
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.
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.
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 ==
.