Struct aws_sdk_applicationinsights::model::Problem
source · [−]#[non_exhaustive]pub struct Problem {
pub id: Option<String>,
pub title: Option<String>,
pub insights: Option<String>,
pub status: Option<Status>,
pub affected_resource: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub severity_level: Option<SeverityLevel>,
pub resource_group_name: Option<String>,
pub feedback: Option<HashMap<FeedbackKey, FeedbackValue>>,
pub recurring_count: Option<i64>,
pub last_recurrence_time: Option<DateTime>,
}
Expand description
Describes a problem that is detected by correlating observations.
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.id: Option<String>
The ID of the problem.
title: Option<String>
The name of the problem.
insights: Option<String>
A detailed analysis of the problem using machine learning.
status: Option<Status>
The status of the problem.
affected_resource: Option<String>
The resource affected by the problem.
start_time: Option<DateTime>
The time when the problem started, in epoch seconds.
end_time: Option<DateTime>
The time when the problem ended, in epoch seconds.
severity_level: Option<SeverityLevel>
A measure of the level of impact of the problem.
resource_group_name: Option<String>
The name of the resource group affected by the problem.
feedback: Option<HashMap<FeedbackKey, FeedbackValue>>
Feedback provided by the user about the problem.
recurring_count: Option<i64>
last_recurrence_time: Option<DateTime>
Implementations
sourceimpl Problem
impl Problem
sourcepub fn insights(&self) -> Option<&str>
pub fn insights(&self) -> Option<&str>
A detailed analysis of the problem using machine learning.
sourcepub fn affected_resource(&self) -> Option<&str>
pub fn affected_resource(&self) -> Option<&str>
The resource affected by the problem.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time when the problem started, in epoch seconds.
sourcepub fn severity_level(&self) -> Option<&SeverityLevel>
pub fn severity_level(&self) -> Option<&SeverityLevel>
A measure of the level of impact of the problem.
sourcepub fn resource_group_name(&self) -> Option<&str>
pub fn resource_group_name(&self) -> Option<&str>
The name of the resource group affected by the problem.
sourcepub fn feedback(&self) -> Option<&HashMap<FeedbackKey, FeedbackValue>>
pub fn feedback(&self) -> Option<&HashMap<FeedbackKey, FeedbackValue>>
Feedback provided by the user about the problem.
pub fn recurring_count(&self) -> Option<i64>
pub fn last_recurrence_time(&self) -> Option<&DateTime>
Trait Implementations
impl StructuralPartialEq for Problem
Auto Trait Implementations
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnwindSafe for Problem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more