Struct sass_embedded::legacy::LegacyResultStats
source · [−]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
sourceimpl Clone for LegacyResultStats
impl Clone for LegacyResultStats
sourcefn clone(&self) -> LegacyResultStats
fn clone(&self) -> LegacyResultStats
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LegacyResultStats
impl Debug for LegacyResultStats
sourceimpl<'de> Deserialize<'de> for LegacyResultStats
impl<'de> Deserialize<'de> for LegacyResultStats
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
sourceimpl Serialize for LegacyResultStats
impl Serialize for LegacyResultStats
Auto Trait Implementations
impl RefUnwindSafe for LegacyResultStats
impl Send for LegacyResultStats
impl Sync for LegacyResultStats
impl Unpin for LegacyResultStats
impl UnwindSafe for LegacyResultStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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