Struct analyzer::data_model::Module

pub struct Module {
    pub file: Option<String>,
    pub path: Vec<String>,
    pub docstring: String,
    pub declarations: Vec<String>,
}

Representation of a module

Requirement: Represent a module RUST004 ../../../../_images/arrow-right-circle.svg
status: in-progress
tags: rust
links incoming: RUST002

Fields

file:

Option<String>

The path to the module file

path:

Vec<String>

The fully qualified name of the module

docstring:

String

declarations:

Vec<String>

The public declarations in the module