#[non_exhaustive]pub struct SearchInsightsInput {
pub start_time_range: Option<StartTimeRange>,
pub filters: Option<SearchInsightsFilters>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub type: Option<InsightType>,
}
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.start_time_range: Option<StartTimeRange>
The start of the time range passed in. Returned insights occurred after this time.
filters: Option<SearchInsightsFilters>
A SearchInsightsFilters
object that is used to set the severity and status filters on your insight search.
max_results: Option<i32>
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
next_token: Option<String>
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
type: Option<InsightType>
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
Implementations§
source§impl SearchInsightsInput
impl SearchInsightsInput
sourcepub fn start_time_range(&self) -> Option<&StartTimeRange>
pub fn start_time_range(&self) -> Option<&StartTimeRange>
The start of the time range passed in. Returned insights occurred after this time.
sourcepub fn filters(&self) -> Option<&SearchInsightsFilters>
pub fn filters(&self) -> Option<&SearchInsightsFilters>
A SearchInsightsFilters
object that is used to set the severity and status filters on your insight search.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
sourcepub fn type(&self) -> Option<&InsightType>
pub fn type(&self) -> Option<&InsightType>
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
source§impl SearchInsightsInput
impl SearchInsightsInput
sourcepub fn builder() -> SearchInsightsInputBuilder
pub fn builder() -> SearchInsightsInputBuilder
Creates a new builder-style object to manufacture SearchInsightsInput
.
Trait Implementations§
source§impl Clone for SearchInsightsInput
impl Clone for SearchInsightsInput
source§fn clone(&self) -> SearchInsightsInput
fn clone(&self) -> SearchInsightsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchInsightsInput
impl Debug for SearchInsightsInput
source§impl PartialEq for SearchInsightsInput
impl PartialEq for SearchInsightsInput
source§fn eq(&self, other: &SearchInsightsInput) -> bool
fn eq(&self, other: &SearchInsightsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchInsightsInput
Auto Trait Implementations§
impl Freeze for SearchInsightsInput
impl RefUnwindSafe for SearchInsightsInput
impl Send for SearchInsightsInput
impl Sync for SearchInsightsInput
impl Unpin for SearchInsightsInput
impl UnwindSafe for SearchInsightsInput
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