Struct github_webhook::payload_types::PullRequestReview
source · pub struct PullRequestReview<'a> {
pub id: usize,
pub node_id: &'a str,
pub user: User<'a>,
pub body: Option<&'a str>,
pub commit_id: &'a str,
pub submitted_at: Option<&'a str>,
pub state: PullRequestReviewState,
pub html_url: &'a str,
pub pull_request_url: &'a str,
pub author_association: AuthorAssociation,
pub _links: PullRequestReviewLinks<'a>,
}
Expand description
The review that was affected.
Fields§
§id: usize
Unique identifier of the review
node_id: &'a str
§user: User<'a>
§body: Option<&'a str>
The text of the review.
commit_id: &'a str
A commit SHA for the review.
submitted_at: Option<&'a str>
§state: PullRequestReviewState
§html_url: &'a str
§pull_request_url: &'a str
§_links: PullRequestReviewLinks<'a>
Trait Implementations§
source§impl<'a> Debug for PullRequestReview<'a>
impl<'a> Debug for PullRequestReview<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for PullRequestReview<'a>
impl<'de: 'a, 'a> Deserialize<'de> for PullRequestReview<'a>
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<'a> RefUnwindSafe for PullRequestReview<'a>
impl<'a> Send for PullRequestReview<'a>
impl<'a> Sync for PullRequestReview<'a>
impl<'a> Unpin for PullRequestReview<'a>
impl<'a> UnwindSafe for PullRequestReview<'a>
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