pub struct WebhooksIssue2 {Show 30 fields
pub active_lock_reason: Option<ActiveLockReason>,
pub assignee: Option<Option<Box<User>>>,
pub assignees: Vec<User>,
pub author_association: AuthorAssociation,
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: i64,
pub labels: Option<Vec<Label>>,
pub labels_url: String,
pub locked: Option<bool>,
pub milestone: Option<Box<Milestone1>>,
pub node_id: String,
pub number: i32,
pub performed_via_github_app: Option<Option<Box<App1>>>,
pub pull_request: Option<Box<WebhooksIssuePullRequest>>,
pub reactions: Box<Reactions>,
pub repository_url: String,
pub state: Option<State>,
pub state_reason: Option<Option<String>>,
pub timeline_url: Option<String>,
pub title: String,
pub updated_at: String,
pub url: String,
pub user: Option<Box<User>>,
}
Expand description
WebhooksIssue2 : The issue itself.
Fields§
§active_lock_reason: Option<ActiveLockReason>
§assignee: Option<Option<Box<User>>>
§assignees: Vec<User>
How the author is associated with the repository.
body: Option<String>
Contents of the issue
closed_at: Option<String>
§comments: i32
§comments_url: String
§created_at: String
§draft: Option<bool>
§events_url: String
§html_url: String
§id: i64
§labels: Option<Vec<Label>>
§labels_url: String
§locked: Option<bool>
§milestone: Option<Box<Milestone1>>
§node_id: String
§number: i32
§performed_via_github_app: Option<Option<Box<App1>>>
§pull_request: Option<Box<WebhooksIssuePullRequest>>
§reactions: Box<Reactions>
§repository_url: String
§state: Option<State>
State of the issue; either ‘open’ or ‘closed’
state_reason: Option<Option<String>>
§timeline_url: Option<String>
§title: String
Title of the issue
updated_at: String
§url: String
URL for the issue
user: Option<Box<User>>
Implementations§
Source§impl WebhooksIssue2
impl WebhooksIssue2
Sourcepub fn new(
active_lock_reason: Option<ActiveLockReason>,
assignees: Vec<User>,
author_association: AuthorAssociation,
body: Option<String>,
closed_at: Option<String>,
comments: i32,
comments_url: String,
created_at: String,
events_url: String,
html_url: String,
id: i64,
labels_url: String,
milestone: Option<Milestone1>,
node_id: String,
number: i32,
reactions: Reactions,
repository_url: String,
title: String,
updated_at: String,
url: String,
user: Option<User>,
) -> WebhooksIssue2
pub fn new( active_lock_reason: Option<ActiveLockReason>, assignees: Vec<User>, author_association: AuthorAssociation, body: Option<String>, closed_at: Option<String>, comments: i32, comments_url: String, created_at: String, events_url: String, html_url: String, id: i64, labels_url: String, milestone: Option<Milestone1>, node_id: String, number: i32, reactions: Reactions, repository_url: String, title: String, updated_at: String, url: String, user: Option<User>, ) -> WebhooksIssue2
The issue itself.
Trait Implementations§
Source§impl Clone for WebhooksIssue2
impl Clone for WebhooksIssue2
Source§fn clone(&self) -> WebhooksIssue2
fn clone(&self) -> WebhooksIssue2
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 WebhooksIssue2
impl Debug for WebhooksIssue2
Source§impl Default for WebhooksIssue2
impl Default for WebhooksIssue2
Source§fn default() -> WebhooksIssue2
fn default() -> WebhooksIssue2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksIssue2
impl<'de> Deserialize<'de> for WebhooksIssue2
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 WebhooksIssue2
impl PartialEq for WebhooksIssue2
Source§impl Serialize for WebhooksIssue2
impl Serialize for WebhooksIssue2
impl StructuralPartialEq for WebhooksIssue2
Auto Trait Implementations§
impl Freeze for WebhooksIssue2
impl RefUnwindSafe for WebhooksIssue2
impl Send for WebhooksIssue2
impl Sync for WebhooksIssue2
impl Unpin for WebhooksIssue2
impl UnwindSafe for WebhooksIssue2
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