pub struct PlannedFix {
pub edits: Vec<TextEdit>,
pub confidence: FixConfidence,
pub source: FixSource,
pub rule_id: String,
pub file_uri: String,
pub line: u32,
pub description: String,
}Expand description
A planned fix for a single incident.
Fields§
§edits: Vec<TextEdit>The text edits to apply.
confidence: FixConfidenceConfidence level.
source: FixSourceHow the fix was generated.
rule_id: StringThe rule ID this fix addresses.
file_uri: StringFile URI from the incident.
line: u32Line number from the incident.
description: StringDescription of what this fix does.
Trait Implementations§
Source§impl Clone for PlannedFix
impl Clone for PlannedFix
Source§impl Debug for PlannedFix
impl Debug for PlannedFix
Source§impl<'de> Deserialize<'de> for PlannedFix
impl<'de> Deserialize<'de> for PlannedFix
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 PlannedFix
impl RefUnwindSafe for PlannedFix
impl Send for PlannedFix
impl Sync for PlannedFix
impl Unpin for PlannedFix
impl UnsafeUnpin for PlannedFix
impl UnwindSafe for PlannedFix
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