pub struct WebhookPullRequestReviewCommentEditedPullRequest {Show 36 fields
pub _links: Box<WebhooksPullRequest5Links>,
pub active_lock_reason: Option<ActiveLockReason>,
pub assignee: Option<Box<User>>,
pub assignees: Vec<User>,
pub author_association: AuthorAssociation,
pub auto_merge: Option<Option<Box<PullRequestAutoMerge>>>,
pub base: Box<PullRequestBase>,
pub body: Option<String>,
pub closed_at: Option<String>,
pub comments_url: String,
pub commits_url: String,
pub created_at: String,
pub diff_url: String,
pub draft: Option<bool>,
pub head: Box<WebhookPullRequestReviewCommentDeletedPullRequestHead>,
pub html_url: String,
pub id: i32,
pub issue_url: String,
pub labels: Vec<Label>,
pub locked: bool,
pub merge_commit_sha: Option<String>,
pub merged_at: Option<String>,
pub milestone: Option<Box<Milestone>>,
pub node_id: String,
pub number: i32,
pub patch_url: String,
pub requested_reviewers: Vec<WebhooksPullRequest5RequestedReviewersInner>,
pub requested_teams: Vec<Team>,
pub review_comment_url: String,
pub review_comments_url: String,
pub state: State,
pub statuses_url: String,
pub title: String,
pub updated_at: String,
pub url: String,
pub user: Option<Box<User1>>,
}
Fields§
§_links: Box<WebhooksPullRequest5Links>
§active_lock_reason: Option<ActiveLockReason>
§assignee: Option<Box<User>>
§assignees: Vec<User>
How the author is associated with the repository.
auto_merge: Option<Option<Box<PullRequestAutoMerge>>>
§base: Box<PullRequestBase>
§body: Option<String>
§closed_at: Option<String>
§comments_url: String
§commits_url: String
§created_at: String
§diff_url: String
§draft: Option<bool>
§head: Box<WebhookPullRequestReviewCommentDeletedPullRequestHead>
§html_url: String
§id: i32
§issue_url: String
§labels: Vec<Label>
§locked: bool
§merge_commit_sha: Option<String>
§merged_at: Option<String>
§milestone: Option<Box<Milestone>>
§node_id: String
§number: i32
§patch_url: String
§requested_reviewers: Vec<WebhooksPullRequest5RequestedReviewersInner>
§requested_teams: Vec<Team>
§review_comment_url: String
§review_comments_url: String
§state: State
§statuses_url: String
§title: String
§updated_at: String
§url: String
§user: Option<Box<User1>>
Implementations§
Source§impl WebhookPullRequestReviewCommentEditedPullRequest
impl WebhookPullRequestReviewCommentEditedPullRequest
pub fn new( _links: WebhooksPullRequest5Links, active_lock_reason: Option<ActiveLockReason>, assignee: Option<User>, assignees: Vec<User>, author_association: AuthorAssociation, base: PullRequestBase, body: Option<String>, closed_at: Option<String>, comments_url: String, commits_url: String, created_at: String, diff_url: String, head: WebhookPullRequestReviewCommentDeletedPullRequestHead, html_url: String, id: i32, issue_url: String, labels: Vec<Label>, locked: bool, merge_commit_sha: Option<String>, merged_at: Option<String>, milestone: Option<Milestone>, node_id: String, number: i32, patch_url: String, requested_reviewers: Vec<WebhooksPullRequest5RequestedReviewersInner>, requested_teams: Vec<Team>, review_comment_url: String, review_comments_url: String, state: State, statuses_url: String, title: String, updated_at: String, url: String, user: Option<User1>, ) -> WebhookPullRequestReviewCommentEditedPullRequest
Trait Implementations§
Source§impl Clone for WebhookPullRequestReviewCommentEditedPullRequest
impl Clone for WebhookPullRequestReviewCommentEditedPullRequest
Source§fn clone(&self) -> WebhookPullRequestReviewCommentEditedPullRequest
fn clone(&self) -> WebhookPullRequestReviewCommentEditedPullRequest
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 Default for WebhookPullRequestReviewCommentEditedPullRequest
impl Default for WebhookPullRequestReviewCommentEditedPullRequest
Source§fn default() -> WebhookPullRequestReviewCommentEditedPullRequest
fn default() -> WebhookPullRequestReviewCommentEditedPullRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookPullRequestReviewCommentEditedPullRequest
impl<'de> Deserialize<'de> for WebhookPullRequestReviewCommentEditedPullRequest
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 WebhookPullRequestReviewCommentEditedPullRequest
impl PartialEq for WebhookPullRequestReviewCommentEditedPullRequest
Source§fn eq(&self, other: &WebhookPullRequestReviewCommentEditedPullRequest) -> bool
fn eq(&self, other: &WebhookPullRequestReviewCommentEditedPullRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookPullRequestReviewCommentEditedPullRequest
Auto Trait Implementations§
impl Freeze for WebhookPullRequestReviewCommentEditedPullRequest
impl RefUnwindSafe for WebhookPullRequestReviewCommentEditedPullRequest
impl Send for WebhookPullRequestReviewCommentEditedPullRequest
impl Sync for WebhookPullRequestReviewCommentEditedPullRequest
impl Unpin for WebhookPullRequestReviewCommentEditedPullRequest
impl UnwindSafe for WebhookPullRequestReviewCommentEditedPullRequest
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