Struct aws_sdk_securityhub::types::InsightResults
source · #[non_exhaustive]pub struct InsightResults {
pub insight_arn: Option<String>,
pub group_by_attribute: Option<String>,
pub result_values: Option<Vec<InsightResultValue>>,
}
Expand description
The insight results returned by the GetInsightResults
operation.
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.insight_arn: Option<String>
The ARN of the insight whose results are returned by the GetInsightResults
operation.
group_by_attribute: Option<String>
The attribute that the findings are grouped by for the insight whose results are returned by the GetInsightResults
operation.
result_values: Option<Vec<InsightResultValue>>
The list of insight result values returned by the GetInsightResults
operation.
Implementations§
source§impl InsightResults
impl InsightResults
sourcepub fn insight_arn(&self) -> Option<&str>
pub fn insight_arn(&self) -> Option<&str>
The ARN of the insight whose results are returned by the GetInsightResults
operation.
sourcepub fn group_by_attribute(&self) -> Option<&str>
pub fn group_by_attribute(&self) -> Option<&str>
The attribute that the findings are grouped by for the insight whose results are returned by the GetInsightResults
operation.
sourcepub fn result_values(&self) -> &[InsightResultValue]
pub fn result_values(&self) -> &[InsightResultValue]
The list of insight result values returned by the GetInsightResults
operation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .result_values.is_none()
.
source§impl InsightResults
impl InsightResults
sourcepub fn builder() -> InsightResultsBuilder
pub fn builder() -> InsightResultsBuilder
Creates a new builder-style object to manufacture InsightResults
.
Trait Implementations§
source§impl Clone for InsightResults
impl Clone for InsightResults
source§fn clone(&self) -> InsightResults
fn clone(&self) -> InsightResults
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InsightResults
impl Debug for InsightResults
source§impl PartialEq for InsightResults
impl PartialEq for InsightResults
source§fn eq(&self, other: &InsightResults) -> bool
fn eq(&self, other: &InsightResults) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InsightResults
Auto Trait Implementations§
impl Freeze for InsightResults
impl RefUnwindSafe for InsightResults
impl Send for InsightResults
impl Sync for InsightResults
impl Unpin for InsightResults
impl UnwindSafe for InsightResults
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