Struct webpack_stats::v5::reason::___EmptyImportedReason
source · [−]pub struct ___EmptyImportedReason<'a> {
pub loc: Fallible<Option<Cow<'a, str>>>,
pub module: Fallible<Option<RelativeModulePath<'a>>>,
pub module_id: Fallible<Option<ModuleId>>,
pub module_name: Fallible<Option<ModuleName<'a>>>,
pub type: Fallible<Option<ImportType>>,
pub user_request: Fallible<Option<ImportString<'a>>>,
}Fields
loc: Fallible<Option<Cow<'a, str>>>module: Fallible<Option<RelativeModulePath<'a>>>module_id: Fallible<Option<ModuleId>>module_name: Fallible<Option<ModuleName<'a>>>type: Fallible<Option<ImportType>>user_request: Fallible<Option<ImportString<'a>>>Trait Implementations
sourceimpl<'a> Container for ___EmptyImportedReason<'a>
impl<'a> Container for ___EmptyImportedReason<'a>
type Value = ImportedReason<'a>
fn try_open(&mut self) -> Result<Self::Value, Box<dyn Error>>
fn open(&mut self) -> Self::Value
fn open_or_default(&mut self) -> Self::Value where
Self::Value: Default,
fn try_open_with_meta(
&mut self,
field_name: &'static str
) -> Result<Self::Value, Box<dyn Error + 'static, Global>>
fn open_with_meta(&mut self, field_name: &'static str) -> Self::Value
sourceimpl<'a> Default for ___EmptyImportedReason<'a>
impl<'a> Default for ___EmptyImportedReason<'a>
sourcefn default() -> ___EmptyImportedReason<'a>
fn default() -> ___EmptyImportedReason<'a>
Returns the “default value” for a type. Read more
sourceimpl<'de: 'a, 'a> Deserialize<'de> for ___EmptyImportedReason<'a> where
___EmptyImportedReason<'a>: Default,
impl<'de: 'a, 'a> Deserialize<'de> for ___EmptyImportedReason<'a> where
___EmptyImportedReason<'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
Auto Trait Implementations
impl<'a> RefUnwindSafe for ___EmptyImportedReason<'a>
impl<'a> Send for ___EmptyImportedReason<'a>
impl<'a> Sync for ___EmptyImportedReason<'a>
impl<'a> Unpin for ___EmptyImportedReason<'a>
impl<'a> UnwindSafe for ___EmptyImportedReason<'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