pub struct PullRequestComment {
pub id: u64,
pub node_id: String,
pub body: String,
pub user: IssueUser,
pub path: String,
pub line: Option<u64>,
pub commit_id: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub html_url: String,
}Expand description
Comment on a pull request (review comment on code).
Fields§
§id: u64Unique comment identifier
node_id: StringNode ID for GraphQL API
body: StringComment body content (Markdown)
user: IssueUserUser who created the comment
path: StringFile path
line: Option<u64>Line number (if single-line comment)
commit_id: StringCommit SHA
created_at: DateTime<Utc>Creation timestamp
updated_at: DateTime<Utc>Last update timestamp
html_url: StringComment URL
Trait Implementations§
Source§impl Clone for PullRequestComment
impl Clone for PullRequestComment
Source§fn clone(&self) -> PullRequestComment
fn clone(&self) -> PullRequestComment
Returns a duplicate 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 PullRequestComment
impl Debug for PullRequestComment
Source§impl<'de> Deserialize<'de> for PullRequestComment
impl<'de> Deserialize<'de> for PullRequestComment
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 PullRequestComment
impl RefUnwindSafe for PullRequestComment
impl Send for PullRequestComment
impl Sync for PullRequestComment
impl Unpin for PullRequestComment
impl UnsafeUnpin for PullRequestComment
impl UnwindSafe for PullRequestComment
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