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: u32The file’s line number in the diff that begins the suggestion.
line_end: u32The file’s line number in the diff that ends the suggestion.
suggestion: StringThe actual suggestion.
path: StringThe 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