#[non_exhaustive]pub struct GetFindingsInput {
pub scan_name: Option<String>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub status: Option<Status>,
}
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.scan_name: Option<String>
The name of the scan you want to retrieve findings from.
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.
status: Option<Status>
The status of the findings you want to get. Pass either Open
, Closed
, or All
.
Implementations§
source§impl GetFindingsInput
impl GetFindingsInput
sourcepub fn scan_name(&self) -> Option<&str>
pub fn scan_name(&self) -> Option<&str>
The name of the scan you want to retrieve findings from.
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.
source§impl GetFindingsInput
impl GetFindingsInput
sourcepub fn builder() -> GetFindingsInputBuilder
pub fn builder() -> GetFindingsInputBuilder
Creates a new builder-style object to manufacture GetFindingsInput
.
Trait Implementations§
source§impl Clone for GetFindingsInput
impl Clone for GetFindingsInput
source§fn clone(&self) -> GetFindingsInput
fn clone(&self) -> GetFindingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFindingsInput
impl Debug for GetFindingsInput
source§impl PartialEq for GetFindingsInput
impl PartialEq for GetFindingsInput
source§fn eq(&self, other: &GetFindingsInput) -> bool
fn eq(&self, other: &GetFindingsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetFindingsInput
Auto Trait Implementations§
impl Freeze for GetFindingsInput
impl RefUnwindSafe for GetFindingsInput
impl Send for GetFindingsInput
impl Sync for GetFindingsInput
impl Unpin for GetFindingsInput
impl UnwindSafe for GetFindingsInput
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