pub struct CommentThread {
pub id: String,
pub comments: Vec<Comment>,
pub file_path: Option<String>,
pub line: Option<i64>,
pub is_resolved: bool,
pub is_resolvable: bool,
}Fields§
§id: String§comments: Vec<Comment>§file_path: Option<String>§line: Option<i64>§is_resolved: bool§is_resolvable: boolWhether the forge can mark this thread resolved at all. false for threads a forge only
bundles (GitHub’s flat conversation comments, GitLab’s individual notes, work-item
comments), so a frontend offers “resolve” only where it would work.
Trait Implementations§
Source§impl Clone for CommentThread
impl Clone for CommentThread
Source§impl Debug for CommentThread
impl Debug for CommentThread
Source§impl<'de> Deserialize<'de> for CommentThread
impl<'de> Deserialize<'de> for CommentThread
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 CommentThread
impl RefUnwindSafe for CommentThread
impl Send for CommentThread
impl Sync for CommentThread
impl Unpin for CommentThread
impl UnsafeUnpin for CommentThread
impl UnwindSafe for CommentThread
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