[][src]Struct functiontrace_server::function_trace::TraceInitialization

pub struct TraceInitialization {
    pub program_name: String,
    pub program_version: String,
    pub lang_version: String,
    pub platform: String,
    pub time: Duration,
}

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

impl Debug for TraceInitialization[src]

impl<'de> Deserialize<'de> for TraceInitialization[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.