Struct deno_graph::Module
source · [−]pub struct Module {
pub dependencies: BTreeMap<String, Dependency>,
pub kind: ModuleKind,
pub maybe_cache_info: Option<CacheInfo>,
pub maybe_checksum: Option<String>,
pub maybe_parsed_source: Option<ParsedSource>,
pub maybe_source: Option<Arc<String>>,
pub maybe_types_dependency: Option<(String, Resolved)>,
pub media_type: MediaType,
pub specifier: ModuleSpecifier,
}
Fields
dependencies: BTreeMap<String, Dependency>
kind: ModuleKind
maybe_cache_info: Option<CacheInfo>
maybe_checksum: Option<String>
maybe_parsed_source: Option<ParsedSource>
maybe_source: Option<Arc<String>>
maybe_types_dependency: Option<(String, Resolved)>
media_type: MediaType
specifier: ModuleSpecifier
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Module
impl !UnwindSafe for Module
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more