pub struct LineComment {
pub path: String,
pub line: i64,
pub side: DiffSide,
pub body: String,
}Expand description
A pending review comment targeting a specific line of a file in a pull request.
Fields§
§path: String§line: i64§side: DiffSide§body: StringTrait Implementations§
Source§impl Clone for LineComment
impl Clone for LineComment
Source§impl Debug for LineComment
impl Debug for LineComment
Source§impl<'de> Deserialize<'de> for LineComment
impl<'de> Deserialize<'de> for LineComment
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 LineComment
impl RefUnwindSafe for LineComment
impl Send for LineComment
impl Sync for LineComment
impl Unpin for LineComment
impl UnsafeUnpin for LineComment
impl UnwindSafe for LineComment
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