Struct aws_sdk_xray::types::ErrorRootCauseService
source · #[non_exhaustive]pub struct ErrorRootCauseService {
pub name: Option<String>,
pub names: Option<Vec<String>>,
pub type: Option<String>,
pub account_id: Option<String>,
pub entity_path: Option<Vec<ErrorRootCauseEntity>>,
pub inferred: Option<bool>,
}
Expand description
A collection of fields identifying the services in a trace summary error.
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.name: Option<String>
The service name.
names: Option<Vec<String>>
A collection of associated service names.
type: Option<String>
The type associated to the service.
account_id: Option<String>
The account ID associated to the service.
entity_path: Option<Vec<ErrorRootCauseEntity>>
The path of root cause entities found on the service.
inferred: Option<bool>
A Boolean value indicating if the service is inferred from the trace.
Implementations§
source§impl ErrorRootCauseService
impl ErrorRootCauseService
sourcepub fn names(&self) -> &[String]
pub fn names(&self) -> &[String]
A collection of associated service names.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .names.is_none()
.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The account ID associated to the service.
sourcepub fn entity_path(&self) -> &[ErrorRootCauseEntity]
pub fn entity_path(&self) -> &[ErrorRootCauseEntity]
The path of root cause entities found on the service.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .entity_path.is_none()
.
source§impl ErrorRootCauseService
impl ErrorRootCauseService
sourcepub fn builder() -> ErrorRootCauseServiceBuilder
pub fn builder() -> ErrorRootCauseServiceBuilder
Creates a new builder-style object to manufacture ErrorRootCauseService
.
Trait Implementations§
source§impl Clone for ErrorRootCauseService
impl Clone for ErrorRootCauseService
source§fn clone(&self) -> ErrorRootCauseService
fn clone(&self) -> ErrorRootCauseService
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ErrorRootCauseService
impl Debug for ErrorRootCauseService
source§impl PartialEq for ErrorRootCauseService
impl PartialEq for ErrorRootCauseService
source§fn eq(&self, other: &ErrorRootCauseService) -> bool
fn eq(&self, other: &ErrorRootCauseService) -> bool
self
and other
values to be equal, and is used
by ==
.