pub struct GitHubIssue {Show 13 fields
pub id: u64,
pub number: u64,
pub title: String,
pub body: Option<String>,
pub state: String,
pub html_url: String,
pub user: Option<GitHubUser>,
pub assignees: Vec<GitHubUser>,
pub labels: Vec<GitHubLabel>,
pub created_at: String,
pub updated_at: String,
pub closed_at: Option<String>,
pub pull_request: Option<Value>,
}Fields§
§id: u64§number: u64§title: String§body: Option<String>§state: String§html_url: String§user: Option<GitHubUser>§assignees: Vec<GitHubUser>§labels: Vec<GitHubLabel>§created_at: String§updated_at: String§closed_at: Option<String>§pull_request: Option<Value>PRs are also returned by /issues endpoint, this field distinguishes them
Trait Implementations§
Source§impl Clone for GitHubIssue
impl Clone for GitHubIssue
Source§fn clone(&self) -> GitHubIssue
fn clone(&self) -> GitHubIssue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GitHubIssue
impl Debug for GitHubIssue
Source§impl<'de> Deserialize<'de> for GitHubIssue
impl<'de> Deserialize<'de> for GitHubIssue
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
Auto Trait Implementations§
impl Freeze for GitHubIssue
impl RefUnwindSafe for GitHubIssue
impl Send for GitHubIssue
impl Sync for GitHubIssue
impl Unpin for GitHubIssue
impl UnsafeUnpin for GitHubIssue
impl UnwindSafe for GitHubIssue
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