pub struct PullRequestReviewCommentEvent {
pub action: IssueCommentAction,
pub changes: Option<CommentChanges>,
pub pull_request: PullRequest,
pub comment: IssueComment,
pub event_info: RepoEventInfo,
}
Expand description
Fields§
§action: IssueCommentAction
§changes: Option<CommentChanges>
§pull_request: PullRequest
§comment: IssueComment
§event_info: RepoEventInfo
Trait Implementations§
source§impl AsRef<RepoEventInfo> for PullRequestReviewCommentEvent
impl AsRef<RepoEventInfo> for PullRequestReviewCommentEvent
source§fn as_ref(&self) -> &RepoEventInfo
fn as_ref(&self) -> &RepoEventInfo
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for PullRequestReviewCommentEvent
impl Clone for PullRequestReviewCommentEvent
source§fn clone(&self) -> PullRequestReviewCommentEvent
fn clone(&self) -> PullRequestReviewCommentEvent
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<'de> Deserialize<'de> for PullRequestReviewCommentEvent
impl<'de> Deserialize<'de> for PullRequestReviewCommentEvent
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 Event<'_> for PullRequestReviewCommentEvent
impl Event<'_> for PullRequestReviewCommentEvent
source§impl PartialEq<PullRequestReviewCommentEvent> for PullRequestReviewCommentEvent
impl PartialEq<PullRequestReviewCommentEvent> for PullRequestReviewCommentEvent
source§fn eq(&self, other: &PullRequestReviewCommentEvent) -> bool
fn eq(&self, other: &PullRequestReviewCommentEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PullRequestReviewCommentEvent
Auto Trait Implementations§
impl RefUnwindSafe for PullRequestReviewCommentEvent
impl Send for PullRequestReviewCommentEvent
impl Sync for PullRequestReviewCommentEvent
impl Unpin for PullRequestReviewCommentEvent
impl UnwindSafe for PullRequestReviewCommentEvent
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