pub struct GitHubReviewComment {Show 14 fields
pub id: u64,
pub body: String,
pub user: Option<GitHubUser>,
pub created_at: String,
pub updated_at: Option<String>,
pub path: String,
pub line: Option<u32>,
pub original_line: Option<u32>,
pub position: Option<u32>,
pub side: Option<String>,
pub diff_hunk: Option<String>,
pub commit_id: Option<String>,
pub original_commit_id: Option<String>,
pub in_reply_to_id: Option<u64>,
}Expand description
GitHub review comment (code review comment).
Fields§
§id: u64§body: String§user: Option<GitHubUser>§created_at: String§updated_at: Option<String>§path: String§line: Option<u32>Line number (can be null for outdated comments)
original_line: Option<u32>Original line (for moved/changed lines)
position: Option<u32>Position in diff (deprecated but still used)
side: Option<String>Side: LEFT (old) or RIGHT (new)
diff_hunk: Option<String>§commit_id: Option<String>Commit SHA
original_commit_id: Option<String>Original commit SHA
in_reply_to_id: Option<u64>Trait Implementations§
Source§impl Clone for GitHubReviewComment
impl Clone for GitHubReviewComment
Source§fn clone(&self) -> GitHubReviewComment
fn clone(&self) -> GitHubReviewComment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GitHubReviewComment
impl Debug for GitHubReviewComment
Source§impl<'de> Deserialize<'de> for GitHubReviewComment
impl<'de> Deserialize<'de> for GitHubReviewComment
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 GitHubReviewComment
impl RefUnwindSafe for GitHubReviewComment
impl Send for GitHubReviewComment
impl Sync for GitHubReviewComment
impl Unpin for GitHubReviewComment
impl UnsafeUnpin for GitHubReviewComment
impl UnwindSafe for GitHubReviewComment
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