pub struct WebhookIssueCommentCreatedIssue {Show 30 fields
pub active_lock_reason: Option<String>,
pub assignee: Option<Box<User1>>,
pub assignees: Vec<Value>,
pub author_association: String,
pub body: Option<String>,
pub closed_at: Option<String>,
pub comments: i32,
pub comments_url: String,
pub created_at: String,
pub draft: Option<bool>,
pub events_url: String,
pub html_url: String,
pub id: i32,
pub labels: Vec<Label>,
pub labels_url: String,
pub locked: bool,
pub milestone: Option<Value>,
pub node_id: String,
pub number: i32,
pub performed_via_github_app: Option<Option<Value>>,
pub pull_request: Option<Box<WebhooksIssuePullRequest>>,
pub reactions: Box<WebhookIssueCommentCreatedIssueAllOfReactions>,
pub repository_url: String,
pub state: State,
pub state_reason: Option<Option<String>>,
pub timeline_url: Option<String>,
pub title: String,
pub updated_at: String,
pub url: String,
pub user: Box<WebhooksSponsorshipMaintainer>,
}
Expand description
WebhookIssueCommentCreatedIssue : The issue the comment belongs to.
Fields§
§active_lock_reason: Option<String>
§assignee: Option<Box<User1>>
§assignees: Vec<Value>
§body: Option<String>
§closed_at: Option<String>
§comments: i32
§comments_url: String
§created_at: String
§draft: Option<bool>
§events_url: String
§html_url: String
§id: i32
§labels: Vec<Label>
§labels_url: String
§locked: bool
§milestone: Option<Value>
§node_id: String
§number: i32
§performed_via_github_app: Option<Option<Value>>
§pull_request: Option<Box<WebhooksIssuePullRequest>>
§reactions: Box<WebhookIssueCommentCreatedIssueAllOfReactions>
§repository_url: String
§state: State
State of the issue; either ‘open’ or ‘closed’
state_reason: Option<Option<String>>
§timeline_url: Option<String>
§title: String
§updated_at: String
§url: String
§user: Box<WebhooksSponsorshipMaintainer>
Implementations§
Source§impl WebhookIssueCommentCreatedIssue
impl WebhookIssueCommentCreatedIssue
Sourcepub fn new(
active_lock_reason: Option<String>,
assignee: Option<User1>,
assignees: Vec<Value>,
author_association: String,
body: Option<String>,
closed_at: Option<String>,
comments: i32,
comments_url: String,
created_at: String,
events_url: String,
html_url: String,
id: i32,
labels: Vec<Label>,
labels_url: String,
locked: bool,
milestone: Option<Value>,
node_id: String,
number: i32,
reactions: WebhookIssueCommentCreatedIssueAllOfReactions,
repository_url: String,
state: State,
title: String,
updated_at: String,
url: String,
user: WebhooksSponsorshipMaintainer,
) -> WebhookIssueCommentCreatedIssue
pub fn new( active_lock_reason: Option<String>, assignee: Option<User1>, assignees: Vec<Value>, author_association: String, body: Option<String>, closed_at: Option<String>, comments: i32, comments_url: String, created_at: String, events_url: String, html_url: String, id: i32, labels: Vec<Label>, labels_url: String, locked: bool, milestone: Option<Value>, node_id: String, number: i32, reactions: WebhookIssueCommentCreatedIssueAllOfReactions, repository_url: String, state: State, title: String, updated_at: String, url: String, user: WebhooksSponsorshipMaintainer, ) -> WebhookIssueCommentCreatedIssue
The issue the comment belongs to.
Trait Implementations§
Source§impl Clone for WebhookIssueCommentCreatedIssue
impl Clone for WebhookIssueCommentCreatedIssue
Source§fn clone(&self) -> WebhookIssueCommentCreatedIssue
fn clone(&self) -> WebhookIssueCommentCreatedIssue
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 WebhookIssueCommentCreatedIssue
impl Default for WebhookIssueCommentCreatedIssue
Source§fn default() -> WebhookIssueCommentCreatedIssue
fn default() -> WebhookIssueCommentCreatedIssue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookIssueCommentCreatedIssue
impl<'de> Deserialize<'de> for WebhookIssueCommentCreatedIssue
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 WebhookIssueCommentCreatedIssue
impl PartialEq for WebhookIssueCommentCreatedIssue
Source§fn eq(&self, other: &WebhookIssueCommentCreatedIssue) -> bool
fn eq(&self, other: &WebhookIssueCommentCreatedIssue) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookIssueCommentCreatedIssue
Auto Trait Implementations§
impl Freeze for WebhookIssueCommentCreatedIssue
impl RefUnwindSafe for WebhookIssueCommentCreatedIssue
impl Send for WebhookIssueCommentCreatedIssue
impl Sync for WebhookIssueCommentCreatedIssue
impl Unpin for WebhookIssueCommentCreatedIssue
impl UnwindSafe for WebhookIssueCommentCreatedIssue
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