pub struct NullableIssue {Show 34 fields
pub id: i64,
pub node_id: String,
pub url: String,
pub repository_url: String,
pub labels_url: String,
pub comments_url: String,
pub events_url: String,
pub html_url: String,
pub number: i32,
pub state: String,
pub state_reason: Option<Option<StateReason>>,
pub title: String,
pub body: Option<Option<String>>,
pub user: Option<Box<NullableSimpleUser>>,
pub labels: Vec<IssueLabelsInner>,
pub assignee: Option<Box<NullableSimpleUser>>,
pub assignees: Option<Option<Vec<SimpleUser>>>,
pub milestone: Option<Box<NullableMilestone>>,
pub locked: bool,
pub active_lock_reason: Option<Option<String>>,
pub comments: i32,
pub pull_request: Option<Box<IssuePullRequest>>,
pub closed_at: Option<String>,
pub created_at: String,
pub updated_at: String,
pub draft: Option<bool>,
pub closed_by: Option<Option<Box<NullableSimpleUser>>>,
pub body_html: Option<String>,
pub body_text: Option<String>,
pub timeline_url: Option<String>,
pub repository: Option<Box<Repository>>,
pub performed_via_github_app: Option<Option<Box<NullableIntegration>>>,
pub author_association: AuthorAssociation,
pub reactions: Option<Box<ReactionRollup>>,
}
Expand description
NullableIssue : Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.
Fields§
§id: i64
§node_id: String
§url: String
URL for the issue
repository_url: String
§labels_url: String
§comments_url: String
§events_url: String
§html_url: String
§number: i32
Number uniquely identifying the issue within its repository
state: String
State of the issue; either ‘open’ or ‘closed’
state_reason: Option<Option<StateReason>>
The reason for the current state
title: String
Title of the issue
body: Option<Option<String>>
Contents of the issue
user: Option<Box<NullableSimpleUser>>
§labels: Vec<IssueLabelsInner>
Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository
assignee: Option<Box<NullableSimpleUser>>
§assignees: Option<Option<Vec<SimpleUser>>>
§milestone: Option<Box<NullableMilestone>>
§locked: bool
§active_lock_reason: Option<Option<String>>
§comments: i32
§pull_request: Option<Box<IssuePullRequest>>
§closed_at: Option<String>
§created_at: String
§updated_at: String
§draft: Option<bool>
§closed_by: Option<Option<Box<NullableSimpleUser>>>
§body_html: Option<String>
§body_text: Option<String>
§timeline_url: Option<String>
§repository: Option<Box<Repository>>
§performed_via_github_app: Option<Option<Box<NullableIntegration>>>
§reactions: Option<Box<ReactionRollup>>
Implementations§
Source§impl NullableIssue
impl NullableIssue
Sourcepub fn new(
id: i64,
node_id: String,
url: String,
repository_url: String,
labels_url: String,
comments_url: String,
events_url: String,
html_url: String,
number: i32,
state: String,
title: String,
user: Option<NullableSimpleUser>,
labels: Vec<IssueLabelsInner>,
assignee: Option<NullableSimpleUser>,
milestone: Option<NullableMilestone>,
locked: bool,
comments: i32,
closed_at: Option<String>,
created_at: String,
updated_at: String,
author_association: AuthorAssociation,
) -> NullableIssue
pub fn new( id: i64, node_id: String, url: String, repository_url: String, labels_url: String, comments_url: String, events_url: String, html_url: String, number: i32, state: String, title: String, user: Option<NullableSimpleUser>, labels: Vec<IssueLabelsInner>, assignee: Option<NullableSimpleUser>, milestone: Option<NullableMilestone>, locked: bool, comments: i32, closed_at: Option<String>, created_at: String, updated_at: String, author_association: AuthorAssociation, ) -> NullableIssue
Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.
Trait Implementations§
Source§impl Clone for NullableIssue
impl Clone for NullableIssue
Source§fn clone(&self) -> NullableIssue
fn clone(&self) -> NullableIssue
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 NullableIssue
impl Debug for NullableIssue
Source§impl Default for NullableIssue
impl Default for NullableIssue
Source§fn default() -> NullableIssue
fn default() -> NullableIssue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NullableIssue
impl<'de> Deserialize<'de> for NullableIssue
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 NullableIssue
impl PartialEq for NullableIssue
Source§impl Serialize for NullableIssue
impl Serialize for NullableIssue
impl StructuralPartialEq for NullableIssue
Auto Trait Implementations§
impl Freeze for NullableIssue
impl RefUnwindSafe for NullableIssue
impl Send for NullableIssue
impl Sync for NullableIssue
impl Unpin for NullableIssue
impl UnwindSafe for NullableIssue
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