pub struct RunContext {
pub run_id: Uuid,
pub parent_run_id: Option<Uuid>,
pub trace_id: Uuid,
pub run_type: RunType,
pub name: String,
pub start_time: SystemTime,
pub start_instant: Instant,
pub tags: Vec<String>,
pub metadata: BTreeMap<String, Value>,
}Fields§
§run_id: Uuid§parent_run_id: Option<Uuid>§trace_id: Uuid§run_type: RunType§name: String§start_time: SystemTime§start_instant: Instant§metadata: BTreeMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for RunContext
impl Clone for RunContext
Source§fn clone(&self) -> RunContext
fn clone(&self) -> RunContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RunContext
impl RefUnwindSafe for RunContext
impl Send for RunContext
impl Sync for RunContext
impl Unpin for RunContext
impl UnsafeUnpin for RunContext
impl UnwindSafe for RunContext
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