#[non_exhaustive]
pub struct ListFindingsOptionalParams { pub page_limit: Option<i64>, pub snapshot_timestamp: Option<i64>, pub page_cursor: Option<String>, pub filter_tags: Option<String>, pub filter_evaluation_changed_at: Option<String>, pub filter_muted: Option<bool>, pub filter_rule_id: Option<String>, pub filter_rule_name: Option<String>, pub filter_resource_type: Option<String>, pub filter_discovery_timestamp: Option<String>, pub filter_evaluation: Option<FindingEvaluation>, pub filter_status: Option<FindingStatus>, }
Expand description

ListFindingsOptionalParams is a struct for passing parameters to the method SecurityMonitoringAPI::list_findings

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§page_limit: Option<i64>

Limit the number of findings returned. Must be <= 1000.

§snapshot_timestamp: Option<i64>

Return findings for a given snapshot of time (Unix ms).

§page_cursor: Option<String>

Return the next page of findings pointed to by the cursor.

§filter_tags: Option<String>

Return findings that have these associated tags (repeatable).

§filter_evaluation_changed_at: Option<String>

Return findings that have changed from pass to fail or vice versa on a specified date (Unix ms) or date range (using comparison operators).

§filter_muted: Option<bool>

Set to true to return findings that are muted. Set to false to return unmuted findings.

§filter_rule_id: Option<String>

Return findings for the specified rule ID.

§filter_rule_name: Option<String>

Return findings for the specified rule.

§filter_resource_type: Option<String>

Return only findings for the specified resource type.

§filter_discovery_timestamp: Option<String>

Return findings that were found on a specified date (Unix ms) or date range (using comparison operators).

§filter_evaluation: Option<FindingEvaluation>

Return only pass or fail findings.

§filter_status: Option<FindingStatus>

Return only findings with the specified status.

Implementations§

source§

impl ListFindingsOptionalParams

source

pub fn page_limit(self, value: i64) -> Self

Limit the number of findings returned. Must be <= 1000.

source

pub fn snapshot_timestamp(self, value: i64) -> Self

Return findings for a given snapshot of time (Unix ms).

source

pub fn page_cursor(self, value: String) -> Self

Return the next page of findings pointed to by the cursor.

source

pub fn filter_tags(self, value: String) -> Self

Return findings that have these associated tags (repeatable).

source

pub fn filter_evaluation_changed_at(self, value: String) -> Self

Return findings that have changed from pass to fail or vice versa on a specified date (Unix ms) or date range (using comparison operators).

source

pub fn filter_muted(self, value: bool) -> Self

Set to true to return findings that are muted. Set to false to return unmuted findings.

source

pub fn filter_rule_id(self, value: String) -> Self

Return findings for the specified rule ID.

source

pub fn filter_rule_name(self, value: String) -> Self

Return findings for the specified rule.

source

pub fn filter_resource_type(self, value: String) -> Self

Return only findings for the specified resource type.

source

pub fn filter_discovery_timestamp(self, value: String) -> Self

Return findings that were found on a specified date (Unix ms) or date range (using comparison operators).

source

pub fn filter_evaluation(self, value: FindingEvaluation) -> Self

Return only pass or fail findings.

source

pub fn filter_status(self, value: FindingStatus) -> Self

Return only findings with the specified status.

Trait Implementations§

source§

impl Clone for ListFindingsOptionalParams

source§

fn clone(&self) -> ListFindingsOptionalParams

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ListFindingsOptionalParams

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ListFindingsOptionalParams

source§

fn default() -> ListFindingsOptionalParams

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more