pub struct IncidentQuery {
pub status: Option<IncidentStatus>,
pub severity: Option<IncidentSeverity>,
pub endpoint: Option<String>,
pub method: Option<String>,
pub incident_type: Option<IncidentType>,
pub workspace_id: Option<String>,
pub start_date: Option<i64>,
pub end_date: Option<i64>,
pub limit: Option<usize>,
pub offset: Option<usize>,
}Expand description
Query filters for incidents
Fields§
§status: Option<IncidentStatus>Filter by status
severity: Option<IncidentSeverity>Filter by severity
endpoint: Option<String>Filter by endpoint
method: Option<String>Filter by method
incident_type: Option<IncidentType>Filter by incident type
workspace_id: Option<String>Filter by workspace ID
start_date: Option<i64>Filter by date range (start)
end_date: Option<i64>Filter by date range (end)
limit: Option<usize>Limit number of results
offset: Option<usize>Offset for pagination
Trait Implementations§
Source§impl Clone for IncidentQuery
impl Clone for IncidentQuery
Source§fn clone(&self) -> IncidentQuery
fn clone(&self) -> IncidentQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IncidentQuery
impl Debug for IncidentQuery
Source§impl Default for IncidentQuery
impl Default for IncidentQuery
Source§fn default() -> IncidentQuery
fn default() -> IncidentQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IncidentQuery
impl RefUnwindSafe for IncidentQuery
impl Send for IncidentQuery
impl Sync for IncidentQuery
impl Unpin for IncidentQuery
impl UnsafeUnpin for IncidentQuery
impl UnwindSafe for IncidentQuery
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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