pub struct InlineComment {
pub path: String,
pub line: u32,
pub start_line: Option<u32>,
pub body: String,
}Expand description
A finding placed on the line it is about, to travel with a review.
line is on the new side of the diff, and start_line, when there is one,
makes it a range ending there. Both are lines GitHub will accept: it refuses
the whole review if any comment names a line the diff does not show.
Fields§
§path: String§line: u32§start_line: Option<u32>§body: StringTrait Implementations§
Source§impl Clone for InlineComment
impl Clone for InlineComment
Source§impl Debug for InlineComment
impl Debug for InlineComment
impl Eq for InlineComment
Source§impl PartialEq for InlineComment
impl PartialEq for InlineComment
impl StructuralPartialEq for InlineComment
Auto Trait Implementations§
impl Freeze for InlineComment
impl RefUnwindSafe for InlineComment
impl Send for InlineComment
impl Sync for InlineComment
impl Unpin for InlineComment
impl UnsafeUnpin for InlineComment
impl UnwindSafe for InlineComment
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.