pub struct GitHubIssue {Show 14 fields
pub number: u64,
pub id: u64,
pub title: String,
pub body: Option<String>,
pub state: String,
pub labels: Vec<GitHubLabel>,
pub user: GitHubUser,
pub created_at: String,
pub updated_at: String,
pub html_url: String,
pub node_id: Option<String>,
pub pull_request: Option<Value>,
pub author_association: Option<String>,
pub state_reason: Option<String>,
}Fields§
§number: u64§id: u64GitHub database id, the value the dependencies API calls issue_id
title: String§body: Option<String>§state: String§labels: Vec<GitHubLabel>§user: GitHubUser§created_at: String§updated_at: String§html_url: String§node_id: Option<String>§pull_request: Option<Value>Present when the item is actually a pull request (GitHub API returns PRs in /issues).
Author’s relationship to the repo: OWNER, MEMBER, COLLABORATOR, CONTRIBUTOR, FIRST_TIME_CONTRIBUTOR, FIRST_TIMER, MANNEQUIN, NONE.
state_reason: Option<String>completed, not_planned, duplicate, reopened, or absent
Trait Implementations§
Source§impl Clone for GitHubIssue
impl Clone for GitHubIssue
Source§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 Forget for GitHubIssue
impl Freeze for GitHubIssuewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<GitHubLabel>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for GitHubIssue
impl RefUnwindSafe for GitHubIssue
impl Send for GitHubIssue
impl Sync for GitHubIssue
impl Unpin for GitHubIssue
impl UnsafeUnpin for GitHubIssuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<GitHubLabel>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for GitHubIssue
Blanket Implementations§
impl<T> AppData for Twhere
T: OptionalSend + OptionalSync + 'static + OptionalSerde,
impl<T> AppDataResponse for Twhere
T: OptionalSend + OptionalSync + 'static + OptionalSerde,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more