pub struct ScriptInfo {
    pub humble_time: Option<NaiveDateTime>,
    pub read_time: ScriptTime,
    pub write_time: ScriptTime,
    pub miss_time: Option<ScriptTime>,
    pub neglect_time: Option<ScriptTime>,
    pub exec_time: Option<ScriptTime<(String, String, String, Option<PathBuf>)>>,
    pub exec_done_time: Option<ScriptTime<(i32, i64)>>,
    pub exec_count: u64,
    /* private fields */
}

Fields§

§humble_time: Option<NaiveDateTime>§read_time: ScriptTime§write_time: ScriptTime§miss_time: Option<ScriptTime>§neglect_time: Option<ScriptTime>§exec_time: Option<ScriptTime<(String, String, String, Option<PathBuf>)>>

(content, args, env_record, dir)

§exec_done_time: Option<ScriptTime<(i32, i64)>>

(return code, main event id)

§exec_count: u64

Implementations§

major time 即不包含 readmiss 事件的時間,但包含 humble

不包含 humble

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.