pub struct PullReviewComment {Show 15 fields
pub body: Option<String>,
pub commit_id: Option<String>,
pub created_at: Option<String>,
pub diff_hunk: Option<String>,
pub html_url: Option<String>,
pub id: Option<i64>,
pub original_commit_id: Option<String>,
pub original_position: Option<i32>,
pub path: Option<String>,
pub position: Option<i32>,
pub pull_request_review_id: Option<i64>,
pub pull_request_url: Option<String>,
pub resolver: Option<Box<User>>,
pub updated_at: Option<String>,
pub user: Option<Box<User>>,
}
Expand description
PullReviewComment : PullReviewComment represents a comment on a pull request review
Fields§
§body: Option<String>
§commit_id: Option<String>
§created_at: Option<String>
§diff_hunk: Option<String>
§html_url: Option<String>
§id: Option<i64>
§original_commit_id: Option<String>
§original_position: Option<i32>
§path: Option<String>
§position: Option<i32>
§pull_request_review_id: Option<i64>
§pull_request_url: Option<String>
§resolver: Option<Box<User>>
§updated_at: Option<String>
§user: Option<Box<User>>
Implementations§
Source§impl PullReviewComment
impl PullReviewComment
Sourcepub fn new() -> PullReviewComment
pub fn new() -> PullReviewComment
PullReviewComment represents a comment on a pull request review
Trait Implementations§
Source§impl Clone for PullReviewComment
impl Clone for PullReviewComment
Source§fn clone(&self) -> PullReviewComment
fn clone(&self) -> PullReviewComment
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 PullReviewComment
impl Debug for PullReviewComment
Source§impl Default for PullReviewComment
impl Default for PullReviewComment
Source§fn default() -> PullReviewComment
fn default() -> PullReviewComment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullReviewComment
impl<'de> Deserialize<'de> for PullReviewComment
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 PullReviewComment
impl PartialEq for PullReviewComment
Source§impl Serialize for PullReviewComment
impl Serialize for PullReviewComment
impl StructuralPartialEq for PullReviewComment
Auto Trait Implementations§
impl Freeze for PullReviewComment
impl RefUnwindSafe for PullReviewComment
impl Send for PullReviewComment
impl Sync for PullReviewComment
impl Unpin for PullReviewComment
impl UnwindSafe for PullReviewComment
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