#[non_exhaustive]pub struct ListInsightsStatusFilter {
pub ongoing: Option<ListInsightsOngoingStatusFilter>,
pub closed: Option<ListInsightsClosedStatusFilter>,
pub any: Option<ListInsightsAnyStatusFilter>,
}
Expand description
A filter used by ListInsights
to specify which insights to return.
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.ongoing: Option<ListInsightsOngoingStatusFilter>
A ListInsightsAnyStatusFilter
that specifies ongoing insights that are either REACTIVE
or PROACTIVE
.
closed: Option<ListInsightsClosedStatusFilter>
A ListInsightsClosedStatusFilter
that specifies closed insights that are either REACTIVE
or PROACTIVE
.
any: Option<ListInsightsAnyStatusFilter>
A ListInsightsAnyStatusFilter
that specifies insights of any status that are either REACTIVE
or PROACTIVE
.
Implementations§
source§impl ListInsightsStatusFilter
impl ListInsightsStatusFilter
sourcepub fn ongoing(&self) -> Option<&ListInsightsOngoingStatusFilter>
pub fn ongoing(&self) -> Option<&ListInsightsOngoingStatusFilter>
A ListInsightsAnyStatusFilter
that specifies ongoing insights that are either REACTIVE
or PROACTIVE
.
sourcepub fn closed(&self) -> Option<&ListInsightsClosedStatusFilter>
pub fn closed(&self) -> Option<&ListInsightsClosedStatusFilter>
A ListInsightsClosedStatusFilter
that specifies closed insights that are either REACTIVE
or PROACTIVE
.
sourcepub fn any(&self) -> Option<&ListInsightsAnyStatusFilter>
pub fn any(&self) -> Option<&ListInsightsAnyStatusFilter>
A ListInsightsAnyStatusFilter
that specifies insights of any status that are either REACTIVE
or PROACTIVE
.
source§impl ListInsightsStatusFilter
impl ListInsightsStatusFilter
sourcepub fn builder() -> ListInsightsStatusFilterBuilder
pub fn builder() -> ListInsightsStatusFilterBuilder
Creates a new builder-style object to manufacture ListInsightsStatusFilter
.
Trait Implementations§
source§impl Clone for ListInsightsStatusFilter
impl Clone for ListInsightsStatusFilter
source§fn clone(&self) -> ListInsightsStatusFilter
fn clone(&self) -> ListInsightsStatusFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListInsightsStatusFilter
impl Debug for ListInsightsStatusFilter
source§impl PartialEq for ListInsightsStatusFilter
impl PartialEq for ListInsightsStatusFilter
source§fn eq(&self, other: &ListInsightsStatusFilter) -> bool
fn eq(&self, other: &ListInsightsStatusFilter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListInsightsStatusFilter
Auto Trait Implementations§
impl Freeze for ListInsightsStatusFilter
impl RefUnwindSafe for ListInsightsStatusFilter
impl Send for ListInsightsStatusFilter
impl Sync for ListInsightsStatusFilter
impl Unpin for ListInsightsStatusFilter
impl UnwindSafe for ListInsightsStatusFilter
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