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§
source§impl Debug for TraceInitialization
impl Debug for TraceInitialization
source§impl<'de> Deserialize<'de> for TraceInitialization
impl<'de> Deserialize<'de> for TraceInitialization
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