pub struct DiagnosticsPreview {
pub target_display: String,
pub changes: Vec<DiagnosticsPreviewChange>,
pub creates: Vec<String>,
pub note: Option<String>,
}Expand description
Preview of a repair’s config changes, shown for confirmation before apply.
Fields§
§target_display: StringWhere the change lands, human-readable.
changes: Vec<DiagnosticsPreviewChange>Per-key old → new values.
creates: Vec<String>Files a scaffold would create (missing files only).
note: Option<String>Extra context (backups, reversibility).
Trait Implementations§
Source§impl Clone for DiagnosticsPreview
impl Clone for DiagnosticsPreview
Source§impl Debug for DiagnosticsPreview
impl Debug for DiagnosticsPreview
Source§impl Default for DiagnosticsPreview
impl Default for DiagnosticsPreview
Source§impl<'de> Deserialize<'de> for DiagnosticsPreview
impl<'de> Deserialize<'de> for DiagnosticsPreview
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
impl Eq for DiagnosticsPreview
Source§impl PartialEq for DiagnosticsPreview
impl PartialEq for DiagnosticsPreview
Source§impl Serialize for DiagnosticsPreview
impl Serialize for DiagnosticsPreview
impl StructuralPartialEq for DiagnosticsPreview
Auto Trait Implementations§
impl Forget for DiagnosticsPreview
impl Freeze for DiagnosticsPreview
impl Move for DiagnosticsPreview
impl RefUnwindSafe for DiagnosticsPreview
impl Send for DiagnosticsPreview
impl Sync for DiagnosticsPreview
impl Unpin for DiagnosticsPreview
impl UnsafeUnpin for DiagnosticsPreview
impl UnwindSafe for DiagnosticsPreview
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.