pub struct RepairResult {
pub valid: bool,
pub repaired_yaml: String,
pub errors: Vec<String>,
pub warnings: Vec<String>,
pub llm_fields: Vec<String>,
pub summary: String,
}Expand description
Output of the YAML auto-repair pipeline.
Returned by devops_validate::repair::repair_yaml.
Fields§
§valid: booltrue if no issues remain after applying fixes.
repaired_yaml: StringThe repaired YAML string (may equal input if nothing was fixed).
errors: Vec<String>Issues that could not be auto-fixed.
warnings: Vec<String>Fixes that were applied (human-readable log).
llm_fields: Vec<String>Fields that were ambiguous and need LLM assistance.
summary: StringSingle-sentence summary of the repair outcome.
Trait Implementations§
Source§impl Clone for RepairResult
impl Clone for RepairResult
Source§fn clone(&self) -> RepairResult
fn clone(&self) -> RepairResult
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 RepairResult
impl Debug for RepairResult
Source§impl<'de> Deserialize<'de> for RepairResult
impl<'de> Deserialize<'de> for RepairResult
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 RepairResult
impl RefUnwindSafe for RepairResult
impl Send for RepairResult
impl Sync for RepairResult
impl Unpin for RepairResult
impl UnsafeUnpin for RepairResult
impl UnwindSafe for RepairResult
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