pub struct DirectoryAsModuleOpts<'a> {
pub source_root_path: Option<&'a str>,
}
Fields§
§source_root_path: Option<&'a str>
An optional subpath of the directory which contains the module’s configuration file. If not set, the module source code is loaded from the root of the directory.
Trait Implementations§
Source§impl<'a> Debug for DirectoryAsModuleOpts<'a>
impl<'a> Debug for DirectoryAsModuleOpts<'a>
Source§impl<'a> PartialEq for DirectoryAsModuleOpts<'a>
impl<'a> PartialEq for DirectoryAsModuleOpts<'a>
impl<'a> StructuralPartialEq for DirectoryAsModuleOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for DirectoryAsModuleOpts<'a>
impl<'a> RefUnwindSafe for DirectoryAsModuleOpts<'a>
impl<'a> Send for DirectoryAsModuleOpts<'a>
impl<'a> Sync for DirectoryAsModuleOpts<'a>
impl<'a> Unpin for DirectoryAsModuleOpts<'a>
impl<'a> UnwindSafe for DirectoryAsModuleOpts<'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