pub struct GenerateResult {
pub output_path: String,
pub adr_count: usize,
pub parse_errors: Vec<(PathBuf, Error)>,
}Expand description
Result of the generate use case.
Fields§
§output_path: StringPath to the generated HTML file.
adr_count: usizeNumber of ADRs included.
parse_errors: Vec<(PathBuf, Error)>Files that failed to parse.
Implementations§
Source§impl GenerateResult
impl GenerateResult
Sourcepub fn has_errors(&self) -> bool
pub fn has_errors(&self) -> bool
Returns true if there were any parse errors.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GenerateResult
impl !RefUnwindSafe for GenerateResult
impl Send for GenerateResult
impl Sync for GenerateResult
impl Unpin for GenerateResult
impl !UnwindSafe for GenerateResult
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