pub struct DocGenConfig {
pub formats: Vec<String>,
pub output_dir: String,
pub namespace: Option<String>,
}Expand description
Documentation generation configuration
Specifies which formats to generate and where to output them.
Fields§
§formats: Vec<String>Formats to generate (e.g., [“json”, “html”])
output_dir: StringOutput directory for generated documentation
namespace: Option<String>Optional namespace identifier for WDP Part 7 support
When set, enables combined IDs (e.g., “nsHash-codeHash”) for multi-service environments. Format: lowercase with underscores.
§Example
[package.metadata.waddling-errors]
namespace = "auth_service"Trait Implementations§
Source§impl Clone for DocGenConfig
impl Clone for DocGenConfig
Source§fn clone(&self) -> DocGenConfig
fn clone(&self) -> DocGenConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocGenConfig
impl Debug for DocGenConfig
Auto Trait Implementations§
impl Freeze for DocGenConfig
impl RefUnwindSafe for DocGenConfig
impl Send for DocGenConfig
impl Sync for DocGenConfig
impl Unpin for DocGenConfig
impl UnwindSafe for DocGenConfig
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