pub struct Thread {Show 13 fields
pub id: u64,
pub kind: Kind,
pub path: Option<String>,
pub line: Option<u32>,
pub start_line: Option<u32>,
pub original_line: Option<u32>,
pub side: Side,
pub outdated: bool,
pub resolved: bool,
pub author: String,
pub state: Option<String>,
pub comments: Vec<Comment>,
pub context: Option<Context>,
/* private fields */
}Fields§
§id: u64§kind: Kind§path: Option<String>§line: Option<u32>§start_line: Option<u32>The first line of a multi-line comment, when it is on the same side
of the diff as line.
original_line: Option<u32>§side: Sideleft for a comment on the base version’s lines (a deleted or
replaced line), whose numbers are not lines of the head’s file.
Absent for the head’s side.
outdated: bool§resolved: bool§state: Option<String>A review’s state: approved, changes_requested, commented, …
comments: Vec<Comment>§context: Option<Context>Trait Implementations§
Auto Trait Implementations§
impl Forget for Thread
impl Freeze for Thread
impl Move for Thread
impl RefUnwindSafe for Thread
impl Send for Thread
impl Sync for Thread
impl Unpin for Thread
impl UnsafeUnpin for Thread
impl UnwindSafe for Thread
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