pub struct TraceInitialization {
pub program_name: String,
pub program_version: String,
pub lang_version: String,
pub platform: String,
pub time: Duration,
}
Expand description
Information relevant for initializing a trace.
Fields
program_name: String
The name (typically based off of argv) of the program initializing the trace (ex:
hello.py world
).
program_version: String
The version information of the functiontrace
client talking to this server (ex:
py-functiontrace 0.3.0
).
lang_version: String
The version for the underlying language the program is running on (ex: Python 3.7.1
).
platform: String
The general operating system platform the program is running on (ex: darwin
).
time: Duration
An opaque system time that all other client-sent times will be relative to.
Trait Implementations
sourceimpl Debug for TraceInitialization
impl Debug for TraceInitialization
sourceimpl<'de> Deserialize<'de> for TraceInitialization
impl<'de> Deserialize<'de> for TraceInitialization
sourcefn 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 RefUnwindSafe for TraceInitialization
impl Send for TraceInitialization
impl Sync for TraceInitialization
impl Unpin for TraceInitialization
impl UnwindSafe for TraceInitialization
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more