Struct webpack_stats::v5::reason::ImportedReason
source · [−]pub struct ImportedReason<'a> {
pub loc: Cow<'a, str>,
pub module: RelativeModulePath<'a>,
pub module_id: ModuleId,
pub module_name: ModuleName<'a>,
pub type: ImportType,
pub user_request: ImportString<'a>,
}Expand description
Metadata to describe the source of an import. Normally helps locate the upstream modules that required this one
Fields
loc: Cow<'a, str>module: RelativeModulePath<'a>module_id: ModuleIdmodule_name: ModuleName<'a>type: ImportTypeuser_request: ImportString<'a>Trait Implementations
sourceimpl<'a> Debug for ImportedReason<'a>
impl<'a> Debug for ImportedReason<'a>
sourceimpl<'a> Default for ImportedReason<'a>
impl<'a> Default for ImportedReason<'a>
sourcefn default() -> ImportedReason<'a>
fn default() -> ImportedReason<'a>
Returns the “default value” for a type. Read more
sourceimpl<'de: 'a, 'a> Deserialize<'de> for ImportedReason<'a> where
ImportedReason<'a>: Default,
impl<'de: 'a, 'a> Deserialize<'de> for ImportedReason<'a> where
ImportedReason<'a>: Default,
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 ImportedReason<'a>
impl<'a> EmptyType for ImportedReason<'a>
type Container = ___EmptyImportedReason<'a>
fn new_container() -> Self::Container
fn new_empty() -> Empty<Self>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ImportedReason<'a>
impl<'a> Send for ImportedReason<'a>
impl<'a> Sync for ImportedReason<'a>
impl<'a> Unpin for ImportedReason<'a>
impl<'a> UnwindSafe for ImportedReason<'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