pub struct LegacyResultStats {
    pub entry: String,
    pub start: SystemTime,
    pub end: SystemTime,
    pub duration: Duration,
    pub included_files: Vec<String>,
}
Expand description

More information: Sass documentation

Fields

entry: String

The absolute path of [LegacyOptions.file], or “data” if [LegacyOptions.file] wasn’t set.

start: SystemTime

The number of milliseconds between 1 January 1970 at 00:00:00 UTC and the time at which Sass compilation began.

end: SystemTime

The number of milliseconds between 1 January 1970 at 00:00:00 UTC and the time at which Sass compilation ended.

duration: Duration

The number of milliseconds it took to compile the Sass file. This is always equal to start minus end.

included_files: Vec<String>

An array of the absolute paths of all Sass files loaded during compilation. If a stylesheet was loaded from a LegacyImporter that returned the stylesheet’s contents, the raw string of the @use or @import that loaded that stylesheet included in this array.

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

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

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.

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.