pub struct ModuleDoc {
pub module_path: String,
pub content: String,
pub source_file: String,
pub c4_level: C4Level,
pub pattern: String,
pub pattern_status: PatternStatus,
pub description: String,
pub parent_container: Option<String>,
pub relationships: Vec<Relationship>,
pub files: Vec<FileEntry>,
}Expand description
A parsed module documentation unit.
This is the core data structure — the JSON IR contract between language adapters and the core generator.
Fields§
§module_path: String§content: String§source_file: String§c4_level: C4Level§pattern: String§pattern_status: PatternStatus§description: String§parent_container: Option<String>§relationships: Vec<Relationship>§files: Vec<FileEntry>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModuleDoc
impl<'de> Deserialize<'de> for ModuleDoc
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
impl Eq for ModuleDoc
impl StructuralPartialEq for ModuleDoc
Auto Trait Implementations§
impl Freeze for ModuleDoc
impl RefUnwindSafe for ModuleDoc
impl Send for ModuleDoc
impl Sync for ModuleDoc
impl Unpin for ModuleDoc
impl UnsafeUnpin for ModuleDoc
impl UnwindSafe for ModuleDoc
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