#[non_exhaustive]pub struct TraceDetail {
pub links: Vec<SpanLinkItem>,
pub schema: String,
pub spans: Vec<SpanItem>,
pub trace: TraceItem,
}Expand description
One trace with its spans. In the composite session response links are session-scoped (top level); the single-trace endpoint sets Links to the edges touching that trace.
Models the contract’s TraceDetail schema.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.links: Vec<SpanLinkItem>The contract’s links.
schema: StringThe contract’s schema.
spans: Vec<SpanItem>The contract’s spans.
trace: TraceItemThe contract’s trace.
Trait Implementations§
Source§impl Clone for TraceDetail
impl Clone for TraceDetail
Source§fn clone(&self) -> TraceDetail
fn clone(&self) -> TraceDetail
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 ContractModel for TraceDetail
impl ContractModel for TraceDetail
Source§impl Debug for TraceDetail
impl Debug for TraceDetail
Source§impl Default for TraceDetail
impl Default for TraceDetail
Source§fn default() -> TraceDetail
fn default() -> TraceDetail
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TraceDetailwhere
TraceDetail: Default,
impl<'de> Deserialize<'de> for TraceDetailwhere
TraceDetail: Default,
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
Source§impl PartialEq for TraceDetail
impl PartialEq for TraceDetail
Source§impl Serialize for TraceDetail
impl Serialize for TraceDetail
impl StructuralPartialEq for TraceDetail
Auto Trait Implementations§
impl Freeze for TraceDetail
impl RefUnwindSafe for TraceDetail
impl Send for TraceDetail
impl Sync for TraceDetail
impl Unpin for TraceDetail
impl UnsafeUnpin for TraceDetail
impl UnwindSafe for TraceDetail
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