pub struct GitPullRequestCommentThread {
pub comment_thread: CommentThread,
pub pull_request_thread_context: Option<GitPullRequestCommentThreadContext>,
}Expand description
Represents a comment thread of a pull request. A thread contains meta data about the file it was left on (if any) along with one or more comments (an initial comment and the subsequent replies).
Fields§
§comment_thread: CommentThread§pull_request_thread_context: Option<GitPullRequestCommentThreadContext>Comment thread context contains details about what diffs were being viewed at the time of thread creation and whether or not the thread has been tracked from that original diff.
Implementations§
Trait Implementations§
source§impl Clone for GitPullRequestCommentThread
impl Clone for GitPullRequestCommentThread
source§fn clone(&self) -> GitPullRequestCommentThread
fn clone(&self) -> GitPullRequestCommentThread
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GitPullRequestCommentThread
impl Debug for GitPullRequestCommentThread
source§impl Default for GitPullRequestCommentThread
impl Default for GitPullRequestCommentThread
source§fn default() -> GitPullRequestCommentThread
fn default() -> GitPullRequestCommentThread
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GitPullRequestCommentThread
impl<'de> Deserialize<'de> for GitPullRequestCommentThread
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
source§impl PartialEq for GitPullRequestCommentThread
impl PartialEq for GitPullRequestCommentThread
source§fn eq(&self, other: &GitPullRequestCommentThread) -> bool
fn eq(&self, other: &GitPullRequestCommentThread) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GitPullRequestCommentThread
Auto Trait Implementations§
impl Freeze for GitPullRequestCommentThread
impl RefUnwindSafe for GitPullRequestCommentThread
impl Send for GitPullRequestCommentThread
impl Sync for GitPullRequestCommentThread
impl Unpin for GitPullRequestCommentThread
impl UnwindSafe for GitPullRequestCommentThread
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