pub struct PullRequestReview {Show 13 fields
pub id: i32,
pub node_id: String,
pub user: Option<Box<NullableSimpleUser>>,
pub body: String,
pub state: String,
pub html_url: String,
pub pull_request_url: String,
pub _links: Box<TimelineReviewedEventLinks>,
pub submitted_at: Option<String>,
pub commit_id: Option<String>,
pub body_html: Option<String>,
pub body_text: Option<String>,
pub author_association: AuthorAssociation,
}
Expand description
PullRequestReview : Pull Request Reviews are reviews on pull requests.
Fields§
§id: i32
Unique identifier of the review
node_id: String
§user: Option<Box<NullableSimpleUser>>
§body: String
The text of the review.
state: String
§html_url: String
§pull_request_url: String
§_links: Box<TimelineReviewedEventLinks>
§submitted_at: Option<String>
§commit_id: Option<String>
A commit SHA for the review. If the commit object was garbage collected or forcibly deleted, then it no longer exists in Git and this value will be null
.
body_html: Option<String>
§body_text: Option<String>
Implementations§
Source§impl PullRequestReview
impl PullRequestReview
Sourcepub fn new(
id: i32,
node_id: String,
user: Option<NullableSimpleUser>,
body: String,
state: String,
html_url: String,
pull_request_url: String,
_links: TimelineReviewedEventLinks,
commit_id: Option<String>,
author_association: AuthorAssociation,
) -> PullRequestReview
pub fn new( id: i32, node_id: String, user: Option<NullableSimpleUser>, body: String, state: String, html_url: String, pull_request_url: String, _links: TimelineReviewedEventLinks, commit_id: Option<String>, author_association: AuthorAssociation, ) -> PullRequestReview
Pull Request Reviews are reviews on pull requests.
Trait Implementations§
Source§impl Clone for PullRequestReview
impl Clone for PullRequestReview
Source§fn clone(&self) -> PullRequestReview
fn clone(&self) -> PullRequestReview
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 PullRequestReview
impl Debug for PullRequestReview
Source§impl Default for PullRequestReview
impl Default for PullRequestReview
Source§fn default() -> PullRequestReview
fn default() -> PullRequestReview
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullRequestReview
impl<'de> Deserialize<'de> for PullRequestReview
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 PullRequestReview
impl PartialEq for PullRequestReview
Source§impl Serialize for PullRequestReview
impl Serialize for PullRequestReview
impl StructuralPartialEq for PullRequestReview
Auto Trait Implementations§
impl Freeze for PullRequestReview
impl RefUnwindSafe for PullRequestReview
impl Send for PullRequestReview
impl Sync for PullRequestReview
impl Unpin for PullRequestReview
impl UnwindSafe for PullRequestReview
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