Struct aws_sdk_xray::types::ResponseTimeRootCauseService
source · #[non_exhaustive]pub struct ResponseTimeRootCauseService {
pub name: Option<String>,
pub names: Option<Vec<String>>,
pub type: Option<String>,
pub account_id: Option<String>,
pub entity_path: Option<Vec<ResponseTimeRootCauseEntity>>,
pub inferred: Option<bool>,
}
Expand description
A collection of fields identifying the service in a response time warning.
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<ResponseTimeRootCauseEntity>>
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 ResponseTimeRootCauseService
impl ResponseTimeRootCauseService
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) -> &[ResponseTimeRootCauseEntity]
pub fn entity_path(&self) -> &[ResponseTimeRootCauseEntity]
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 ResponseTimeRootCauseService
impl ResponseTimeRootCauseService
sourcepub fn builder() -> ResponseTimeRootCauseServiceBuilder
pub fn builder() -> ResponseTimeRootCauseServiceBuilder
Creates a new builder-style object to manufacture ResponseTimeRootCauseService
.
Trait Implementations§
source§impl Clone for ResponseTimeRootCauseService
impl Clone for ResponseTimeRootCauseService
source§fn clone(&self) -> ResponseTimeRootCauseService
fn clone(&self) -> ResponseTimeRootCauseService
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResponseTimeRootCauseService
impl Debug for ResponseTimeRootCauseService
source§impl PartialEq for ResponseTimeRootCauseService
impl PartialEq for ResponseTimeRootCauseService
source§fn eq(&self, other: &ResponseTimeRootCauseService) -> bool
fn eq(&self, other: &ResponseTimeRootCauseService) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseTimeRootCauseService
Auto Trait Implementations§
impl Freeze for ResponseTimeRootCauseService
impl RefUnwindSafe for ResponseTimeRootCauseService
impl Send for ResponseTimeRootCauseService
impl Sync for ResponseTimeRootCauseService
impl Unpin for ResponseTimeRootCauseService
impl UnwindSafe for ResponseTimeRootCauseService
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