Struct octocrab::models::issues::Issue [−][src]
#[non_exhaustive]pub struct Issue {}Show fields
pub id: i64, pub node_id: String, pub url: Url, pub repository_url: Url, pub labels_url: Url, pub comments_url: Url, pub events_url: Url, pub html_url: Url, pub number: i64, pub state: String, pub title: String, pub body: Option<String>, pub body_text: Option<String>, pub body_html: Option<String>, pub user: User, pub labels: Vec<Label>, pub assignee: Option<User>, pub assignees: Vec<User>, pub author_association: String, pub milestone: Option<Milestone>, pub locked: bool, pub active_lock_reason: Option<String>, pub comments: u32, pub pull_request: Option<PullRequestLink>, pub closed_at: Option<DateTime<Utc>>, pub created_at: DateTime<Utc>, pub updated_at: DateTime<Utc>,
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct {{ .. }}
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: i64
node_id: String
url: Url
repository_url: Url
labels_url: Url
comments_url: Url
events_url: Url
html_url: Url
number: i64
state: String
title: String
body: Option<String>
body_text: Option<String>
body_html: Option<String>
user: User
labels: Vec<Label>
assignee: Option<User>
assignees: Vec<User>
milestone: Option<Milestone>
locked: bool
active_lock_reason: Option<String>
comments: u32
pull_request: Option<PullRequestLink>
closed_at: Option<DateTime<Utc>>
created_at: DateTime<Utc>
updated_at: DateTime<Utc>
Trait Implementations
impl Clone for Issue
[src]
impl Debug for Issue
[src]
impl<'de> Deserialize<'de> for Issue
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Issue> for Issue
[src]
impl Serialize for Issue
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Issue
[src]
Auto Trait Implementations
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnwindSafe for Issue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,