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
impl StructuralPartialEq for ErrorRootCauseService
Auto Trait Implementations§
impl Freeze for ErrorRootCauseService
impl RefUnwindSafe for ErrorRootCauseService
impl Send for ErrorRootCauseService
impl Sync for ErrorRootCauseService
impl Unpin for ErrorRootCauseService
impl UnwindSafe for ErrorRootCauseService
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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