pub struct ModuleMetadata {
pub imports: Vec<Box<dyn Module>>,
pub providers: Vec<ProviderRegisterFn>,
pub exports: Vec<&'static str>,
}Expand description
Metadata describing a NestJS-style module.
Fields§
§imports: Vec<Box<dyn Module>>§providers: Vec<ProviderRegisterFn>§exports: Vec<&'static str>Trait Implementations§
Source§impl Default for ModuleMetadata
impl Default for ModuleMetadata
Source§fn default() -> ModuleMetadata
fn default() -> ModuleMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModuleMetadata
impl !RefUnwindSafe for ModuleMetadata
impl Send for ModuleMetadata
impl Sync for ModuleMetadata
impl Unpin for ModuleMetadata
impl UnsafeUnpin for ModuleMetadata
impl !UnwindSafe for ModuleMetadata
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