Struct webpack_stats::v5::module::OutputModule
source · [−]pub struct OutputModule<'a> {Show 16 fields
pub assets: Vec<Asset<'a>>,
pub built: bool,
pub cacheable: bool,
pub chunks: Vec<ChunkId>,
pub error_count: u32,
pub warning_count: u32,
pub failed: bool,
pub id: ModuleId,
pub identifier: ModuleIdentifier<'a>,
pub name: ModuleName<'a>,
pub optional: bool,
pub prefetched: bool,
pub reasons: Vec<Reason<'a>>,
pub size: SizeBytes,
pub source: Option<SourceText<'a>>,
pub profile: Profile,
}Fields
assets: Vec<Asset<'a>>built: boolIndicates that the module went through loaders, Parsing, and Code Generation
cacheable: boolchunks: Vec<ChunkId>error_count: u32warning_count: u32failed: boolid: ModuleIdidentifier: ModuleIdentifier<'a>name: ModuleName<'a>Undocumented by webpack in any meaningful way.
optional: boolprefetched: boolreasons: Vec<Reason<'a>>Every module also contains a list of reasons objects describing why that module was included in the dependency graph. Each “reason” is similar to the origins
size: SizeBytessource: Option<SourceText<'a>>profile: ProfileTrait Implementations
sourceimpl<'a> Debug for OutputModule<'a>
impl<'a> Debug for OutputModule<'a>
sourceimpl<'a> Default for OutputModule<'a>
impl<'a> Default for OutputModule<'a>
sourcefn default() -> OutputModule<'a>
fn default() -> OutputModule<'a>
Returns the “default value” for a type. Read more
sourceimpl<'de: 'a, 'a> Deserialize<'de> for OutputModule<'a>
impl<'de: 'a, 'a> Deserialize<'de> for OutputModule<'a>
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<'a> EmptyType for OutputModule<'a>
impl<'a> EmptyType for OutputModule<'a>
type Container = ___EmptyOutputModule<'a>
fn new_container() -> Self::Container
fn new_empty() -> Empty<Self>
Auto Trait Implementations
impl<'a> RefUnwindSafe for OutputModule<'a>
impl<'a> Send for OutputModule<'a>
impl<'a> Sync for OutputModule<'a>
impl<'a> Unpin for OutputModule<'a>
impl<'a> UnwindSafe for OutputModule<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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