pub struct CodeThread {
pub id: String,
pub path: String,
pub line: Option<u32>,
pub original_line: Option<u32>,
pub side: DiffSide,
pub start_line: Option<u32>,
pub resolved: bool,
pub outdated: bool,
pub resolvable: bool,
pub diff_hunk: Option<String>,
pub comments: Vec<Comment>,
}Expand description
A conversation on code: ReviewThread with actors, markup and the hunk.
Fields§
§id: String§path: String§line: Option<u32>§original_line: Option<u32>§side: DiffSide§start_line: Option<u32>§resolved: bool§outdated: bool§resolvable: bool§diff_hunk: Option<String>The diff excerpt the thread is anchored on, when the host gives it.
comments: Vec<Comment>Oldest first.
Trait Implementations§
Source§impl Clone for CodeThread
impl Clone for CodeThread
Source§impl Debug for CodeThread
impl Debug for CodeThread
Source§impl<'de> Deserialize<'de> for CodeThread
impl<'de> Deserialize<'de> for CodeThread
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
impl Eq for CodeThread
Source§impl PartialEq for CodeThread
impl PartialEq for CodeThread
Source§impl Serialize for CodeThread
impl Serialize for CodeThread
impl StructuralPartialEq for CodeThread
Auto Trait Implementations§
impl Forget for CodeThread
impl Freeze for CodeThread
impl Move for CodeThread
impl RefUnwindSafe for CodeThread
impl Send for CodeThread
impl Sync for CodeThread
impl Unpin for CodeThread
impl UnsafeUnpin for CodeThread
impl UnwindSafe for CodeThread
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.