Struct aws_sdk_xray::types::Edge
source · #[non_exhaustive]pub struct Edge {
pub reference_id: Option<i32>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub summary_statistics: Option<EdgeStatistics>,
pub response_time_histogram: Option<Vec<HistogramEntry>>,
pub aliases: Option<Vec<Alias>>,
pub edge_type: Option<String>,
pub received_event_age_histogram: Option<Vec<HistogramEntry>>,
}
Expand description
Information about a connection between two services. An edge can be a synchronous connection, such as typical call between client and service, or an asynchronous link, such as a Lambda function which retrieves an event from an SNS queue.
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.reference_id: Option<i32>
Identifier of the edge. Unique within a service map.
start_time: Option<DateTime>
The start time of the first segment on the edge.
end_time: Option<DateTime>
The end time of the last segment on the edge.
summary_statistics: Option<EdgeStatistics>
Response statistics for segments on the edge.
response_time_histogram: Option<Vec<HistogramEntry>>
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
aliases: Option<Vec<Alias>>
Aliases for the edge.
edge_type: Option<String>
Describes an asynchronous connection, with a value of link
.
received_event_age_histogram: Option<Vec<HistogramEntry>>
A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType is link
.
Implementations§
source§impl Edge
impl Edge
sourcepub fn reference_id(&self) -> Option<i32>
pub fn reference_id(&self) -> Option<i32>
Identifier of the edge. Unique within a service map.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start time of the first segment on the edge.
sourcepub fn summary_statistics(&self) -> Option<&EdgeStatistics>
pub fn summary_statistics(&self) -> Option<&EdgeStatistics>
Response statistics for segments on the edge.
sourcepub fn response_time_histogram(&self) -> &[HistogramEntry]
pub fn response_time_histogram(&self) -> &[HistogramEntry]
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .response_time_histogram.is_none()
.
sourcepub fn aliases(&self) -> &[Alias]
pub fn aliases(&self) -> &[Alias]
Aliases for the edge.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .aliases.is_none()
.
sourcepub fn edge_type(&self) -> Option<&str>
pub fn edge_type(&self) -> Option<&str>
Describes an asynchronous connection, with a value of link
.
sourcepub fn received_event_age_histogram(&self) -> &[HistogramEntry]
pub fn received_event_age_histogram(&self) -> &[HistogramEntry]
A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType is link
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .received_event_age_histogram.is_none()
.
Trait Implementations§
source§impl PartialEq for Edge
impl PartialEq for Edge
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
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> 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