Struct aws_sdk_xray::types::InsightSummary
source · #[non_exhaustive]pub struct InsightSummary {Show 13 fields
pub insight_id: Option<String>,
pub group_arn: Option<String>,
pub group_name: Option<String>,
pub root_cause_service_id: Option<ServiceId>,
pub categories: Option<Vec<InsightCategory>>,
pub state: Option<InsightState>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub summary: Option<String>,
pub client_request_impact_statistics: Option<RequestImpactStatistics>,
pub root_cause_service_request_impact_statistics: Option<RequestImpactStatistics>,
pub top_anomalous_services: Option<Vec<AnomalousService>>,
pub last_update_time: Option<DateTime>,
}
Expand description
Information that describes an insight.
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.insight_id: Option<String>
The insights unique identifier.
group_arn: Option<String>
The Amazon Resource Name (ARN) of the group that the insight belongs to.
group_name: Option<String>
The name of the group that the insight belongs to.
root_cause_service_id: Option<ServiceId>
categories: Option<Vec<InsightCategory>>
Categories The categories that label and describe the type of insight.
state: Option<InsightState>
The current state of the insight.
start_time: Option<DateTime>
The time, in Unix seconds, at which the insight began.
end_time: Option<DateTime>
The time, in Unix seconds, at which the insight ended.
summary: Option<String>
A brief description of the insight.
client_request_impact_statistics: Option<RequestImpactStatistics>
The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.
root_cause_service_request_impact_statistics: Option<RequestImpactStatistics>
The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.
top_anomalous_services: Option<Vec<AnomalousService>>
The service within the insight that is most impacted by the incident.
last_update_time: Option<DateTime>
The time, in Unix seconds, that the insight was last updated.
Implementations§
source§impl InsightSummary
impl InsightSummary
sourcepub fn insight_id(&self) -> Option<&str>
pub fn insight_id(&self) -> Option<&str>
The insights unique identifier.
sourcepub fn group_arn(&self) -> Option<&str>
pub fn group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the group that the insight belongs to.
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The name of the group that the insight belongs to.
sourcepub fn root_cause_service_id(&self) -> Option<&ServiceId>
pub fn root_cause_service_id(&self) -> Option<&ServiceId>
sourcepub fn categories(&self) -> &[InsightCategory]
pub fn categories(&self) -> &[InsightCategory]
Categories The categories that label and describe the type of insight.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .categories.is_none()
.
sourcepub fn state(&self) -> Option<&InsightState>
pub fn state(&self) -> Option<&InsightState>
The current state of the insight.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time, in Unix seconds, at which the insight began.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The time, in Unix seconds, at which the insight ended.
sourcepub fn client_request_impact_statistics(
&self,
) -> Option<&RequestImpactStatistics>
pub fn client_request_impact_statistics( &self, ) -> Option<&RequestImpactStatistics>
The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.
sourcepub fn root_cause_service_request_impact_statistics(
&self,
) -> Option<&RequestImpactStatistics>
pub fn root_cause_service_request_impact_statistics( &self, ) -> Option<&RequestImpactStatistics>
The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.
sourcepub fn top_anomalous_services(&self) -> &[AnomalousService]
pub fn top_anomalous_services(&self) -> &[AnomalousService]
The service within the insight that is most impacted by the incident.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .top_anomalous_services.is_none()
.
sourcepub fn last_update_time(&self) -> Option<&DateTime>
pub fn last_update_time(&self) -> Option<&DateTime>
The time, in Unix seconds, that the insight was last updated.
source§impl InsightSummary
impl InsightSummary
sourcepub fn builder() -> InsightSummaryBuilder
pub fn builder() -> InsightSummaryBuilder
Creates a new builder-style object to manufacture InsightSummary
.
Trait Implementations§
source§impl Clone for InsightSummary
impl Clone for InsightSummary
source§fn clone(&self) -> InsightSummary
fn clone(&self) -> InsightSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InsightSummary
impl Debug for InsightSummary
source§impl PartialEq for InsightSummary
impl PartialEq for InsightSummary
impl StructuralPartialEq for InsightSummary
Auto Trait Implementations§
impl Freeze for InsightSummary
impl RefUnwindSafe for InsightSummary
impl Send for InsightSummary
impl Sync for InsightSummary
impl Unpin for InsightSummary
impl UnwindSafe for InsightSummary
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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