#[non_exhaustive]pub struct ListViolationEventsOutput {
pub violation_events: Option<Vec<ViolationEvent>>,
pub next_token: Option<String>,
/* private fields */
}
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.violation_events: Option<Vec<ViolationEvent>>
The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.
next_token: Option<String>
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
Implementations§
source§impl ListViolationEventsOutput
impl ListViolationEventsOutput
sourcepub fn violation_events(&self) -> &[ViolationEvent]
pub fn violation_events(&self) -> &[ViolationEvent]
The security profile violation alerts issued for this account during the given time period, potentially filtered by security profile, behavior violated, or thing (device) violating.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .violation_events.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
source§impl ListViolationEventsOutput
impl ListViolationEventsOutput
sourcepub fn builder() -> ListViolationEventsOutputBuilder
pub fn builder() -> ListViolationEventsOutputBuilder
Creates a new builder-style object to manufacture ListViolationEventsOutput
.
Trait Implementations§
source§impl Clone for ListViolationEventsOutput
impl Clone for ListViolationEventsOutput
source§fn clone(&self) -> ListViolationEventsOutput
fn clone(&self) -> ListViolationEventsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListViolationEventsOutput
impl Debug for ListViolationEventsOutput
source§impl PartialEq for ListViolationEventsOutput
impl PartialEq for ListViolationEventsOutput
source§fn eq(&self, other: &ListViolationEventsOutput) -> bool
fn eq(&self, other: &ListViolationEventsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListViolationEventsOutput
impl RequestId for ListViolationEventsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListViolationEventsOutput
Auto Trait Implementations§
impl Freeze for ListViolationEventsOutput
impl RefUnwindSafe for ListViolationEventsOutput
impl Send for ListViolationEventsOutput
impl Sync for ListViolationEventsOutput
impl Unpin for ListViolationEventsOutput
impl UnwindSafe for ListViolationEventsOutput
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