pub struct TraceRecord {
pub id: String,
pub created_at: i64,
pub session_tag: Option<String>,
pub root_record_id: String,
pub tags: HashMap<String, String>,
}Expand description
One row in the traces table (plus its tags).
Fields§
§id: StringTrace id (content id of the root record).
created_at: i64Unix epoch millis.
session_tag: Option<String>Optional session tag (matches metadata.payload.tags.session_tag).
root_record_id: StringRoot record id (== id for canonical traces, but we store it
separately so the invariant is queryable).
Tags as a key→value map.
Trait Implementations§
Source§impl Clone for TraceRecord
impl Clone for TraceRecord
Source§fn clone(&self) -> TraceRecord
fn clone(&self) -> TraceRecord
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 TraceRecord
impl Debug for TraceRecord
Source§impl PartialEq for TraceRecord
impl PartialEq for TraceRecord
Source§fn eq(&self, other: &TraceRecord) -> bool
fn eq(&self, other: &TraceRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TraceRecord
impl StructuralPartialEq for TraceRecord
Auto Trait Implementations§
impl Freeze for TraceRecord
impl RefUnwindSafe for TraceRecord
impl Send for TraceRecord
impl Sync for TraceRecord
impl Unpin for TraceRecord
impl UnsafeUnpin for TraceRecord
impl UnwindSafe for TraceRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.