#[non_exhaustive]pub struct SpanLinkItem {
pub from_io: String,
pub from_span_id: String,
pub from_trace_id: String,
pub kind: String,
pub to_io: String,
pub to_span_id: String,
pub to_trace_id: String,
}Expand description
A dataflow edge. kind is a typed top-level field (rejoin / verdict / compaction-seam / emits / feeds); from/to trace ids differ on cross-trace causality.
Models the contract’s SpanLinkItem 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.from_io: StringThe contract’s from_io.
from_span_id: StringThe contract’s from_span_id.
from_trace_id: StringThe contract’s from_trace_id.
kind: StringThe contract’s kind.
to_io: StringThe contract’s to_io.
to_span_id: StringThe contract’s to_span_id.
to_trace_id: StringThe contract’s to_trace_id.
Trait Implementations§
Source§impl Clone for SpanLinkItem
impl Clone for SpanLinkItem
Source§fn clone(&self) -> SpanLinkItem
fn clone(&self) -> SpanLinkItem
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 SpanLinkItem
impl ContractModel for SpanLinkItem
Source§impl Debug for SpanLinkItem
impl Debug for SpanLinkItem
Source§impl Default for SpanLinkItem
impl Default for SpanLinkItem
Source§fn default() -> SpanLinkItem
fn default() -> SpanLinkItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpanLinkItemwhere
SpanLinkItem: Default,
impl<'de> Deserialize<'de> for SpanLinkItemwhere
SpanLinkItem: 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 SpanLinkItem
impl PartialEq for SpanLinkItem
Source§impl Serialize for SpanLinkItem
impl Serialize for SpanLinkItem
impl StructuralPartialEq for SpanLinkItem
Auto Trait Implementations§
impl Freeze for SpanLinkItem
impl RefUnwindSafe for SpanLinkItem
impl Send for SpanLinkItem
impl Sync for SpanLinkItem
impl Unpin for SpanLinkItem
impl UnsafeUnpin for SpanLinkItem
impl UnwindSafe for SpanLinkItem
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