pub struct ValidationReport {
pub template_name: String,
pub syntax_valid: bool,
pub syntax_errors: Vec<String>,
pub lint_violations: Vec<String>,
pub unused_variables: Vec<String>,
pub missing_variables: Vec<String>,
pub performance_metrics: Option<PerformanceMetrics>,
}Expand description
Validation report for template analysis
Fields§
§template_name: StringTemplate name
syntax_valid: boolWhether template syntax is valid
syntax_errors: Vec<String>Syntax errors found
lint_violations: Vec<String>Lint violations found
unused_variables: Vec<String>Variables defined in context but not used
missing_variables: Vec<String>Variables used in template but not in context
performance_metrics: Option<PerformanceMetrics>Performance metrics (if profiling enabled)
Trait Implementations§
Source§impl Clone for ValidationReport
impl Clone for ValidationReport
Source§fn clone(&self) -> ValidationReport
fn clone(&self) -> ValidationReport
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 moreAuto Trait Implementations§
impl Freeze for ValidationReport
impl RefUnwindSafe for ValidationReport
impl Send for ValidationReport
impl Sync for ValidationReport
impl Unpin for ValidationReport
impl UnwindSafe for ValidationReport
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