pub struct StoredSegment {Show 15 fields
pub trace_id: String,
pub id: String,
pub name: String,
pub start_time: f64,
pub end_time: Option<f64>,
pub parent_id: Option<String>,
pub origin: Option<String>,
pub http_status: Option<i64>,
pub http_method: Option<String>,
pub http_url: Option<String>,
pub fault: bool,
pub error: bool,
pub throttle: bool,
pub downstream: Vec<Downstream>,
pub document: String,
}Expand description
A parsed, stored X-Ray segment. Retains the raw document for verbatim
re-emission and the extracted fields the data-plane reads compute over.
Fields§
§trace_id: String§id: String§name: String§start_time: f64§end_time: Option<f64>§parent_id: Option<String>§origin: Option<String>§http_status: Option<i64>§http_method: Option<String>§http_url: Option<String>§fault: bool§error: bool§throttle: bool§downstream: Vec<Downstream>§document: StringThe raw segment document as ingested, echoed by BatchGetTraces.
Implementations§
Trait Implementations§
Source§impl Clone for StoredSegment
impl Clone for StoredSegment
Source§fn clone(&self) -> StoredSegment
fn clone(&self) -> StoredSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoredSegment
impl Debug for StoredSegment
Source§impl<'de> Deserialize<'de> for StoredSegment
impl<'de> Deserialize<'de> for StoredSegment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StoredSegment
impl RefUnwindSafe for StoredSegment
impl Send for StoredSegment
impl Sync for StoredSegment
impl Unpin for StoredSegment
impl UnsafeUnpin for StoredSegment
impl UnwindSafe for StoredSegment
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
Mutably borrows from an owned value. Read more