Struct cpp_linter::clang_tools::Suggestion
source · pub struct Suggestion {
pub line_start: u32,
pub line_end: u32,
pub suggestion: String,
pub path: String,
}
Expand description
A struct to describe a single suggestion in a pull_request review.
Fields§
§line_start: u32
The file’s line number in the diff that begins the suggestion.
line_end: u32
The file’s line number in the diff that ends the suggestion.
suggestion: String
The actual suggestion.
path: String
The file that this suggestion pertains to.
Auto Trait Implementations§
impl Freeze for Suggestion
impl RefUnwindSafe for Suggestion
impl Send for Suggestion
impl Sync for Suggestion
impl Unpin for Suggestion
impl UnwindSafe for Suggestion
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