pub struct ___EmptyReason<'a> {
pub loc: Fallible<Option<Cow<'a, str>>>,
pub module: Option<RelativeModulePath<'a>>,
pub module_id: Optional<ModuleId>,
pub module_name: Option<ModuleName>,
pub resolved_module: Option<ModuleName>,
pub module_identifier: Option<ModuleIdentifier>,
pub type: Option<ImportType>,
pub user_request: Fallible<Option<ImportString<'a>>>,
}Fields§
§loc: Fallible<Option<Cow<'a, str>>>§module: Option<RelativeModulePath<'a>>§module_id: Optional<ModuleId>§module_name: Option<ModuleName>§resolved_module: Option<ModuleName>§module_identifier: Option<ModuleIdentifier>§type: Option<ImportType>§user_request: Fallible<Option<ImportString<'a>>>Trait Implementations§
Source§impl<'a> Container for ___EmptyReason<'a>
impl<'a> Container for ___EmptyReason<'a>
type Value = Reason<'a>
fn try_open(&mut self) -> Result<Self::Value, Box<dyn Error>>
fn open(&mut self) -> Self::Value
fn try_open_with_meta( &mut self, field_name: &'static str, ) -> Result<Self::Value, Box<dyn Error>>
fn open_with_meta(&mut self, field_name: &'static str) -> Self::Value
Source§impl<'a> Default for ___EmptyReason<'a>
impl<'a> Default for ___EmptyReason<'a>
Source§fn default() -> ___EmptyReason<'a>
fn default() -> ___EmptyReason<'a>
Returns the “default value” for a type. Read more
Source§impl<'de: 'a, 'a> Deserialize<'de> for ___EmptyReason<'a>where
___EmptyReason<'a>: Default,
impl<'de: 'a, 'a> Deserialize<'de> for ___EmptyReason<'a>where
___EmptyReason<'a>: Default,
Source§fn 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> Freeze for ___EmptyReason<'a>
impl<'a> RefUnwindSafe for ___EmptyReason<'a>
impl<'a> !Send for ___EmptyReason<'a>
impl<'a> !Sync for ___EmptyReason<'a>
impl<'a> Unpin for ___EmptyReason<'a>
impl<'a> UnwindSafe for ___EmptyReason<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more