pub struct DocModel {
pub metadata: ProjectMetadata,
pub rust_modules: Vec<RustModule>,
pub python_modules: Vec<PythonModule>,
pub cross_refs: Vec<CrossRef>,
}Expand description
The complete documentation model for a project
Fields§
§metadata: ProjectMetadata§rust_modules: Vec<RustModule>§python_modules: Vec<PythonModule>§cross_refs: Vec<CrossRef>Implementations§
Source§impl DocModel
impl DocModel
pub fn with_rust_module(self, module: RustModule) -> Self
pub fn with_python_module(self, module: PythonModule) -> Self
pub fn with_cross_ref(self, cross_ref: CrossRef) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocModel
impl<'de> Deserialize<'de> for DocModel
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
Auto Trait Implementations§
impl Freeze for DocModel
impl RefUnwindSafe for DocModel
impl Send for DocModel
impl Sync for DocModel
impl Unpin for DocModel
impl UnsafeUnpin for DocModel
impl UnwindSafe for DocModel
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