pub struct Issue {Show 24 fields
pub assets: Option<Vec<Attachment>>,
pub assignee: Option<User>,
pub assignees: Vec<User>,
pub body: String,
pub closed_at: Option<String>,
pub comments: f64,
pub created_at: String,
pub due_date: Option<String>,
pub html_url: String,
pub id: f64,
pub is_locked: Option<bool>,
pub labels: Vec<Label>,
pub milestone: Option<Milestone>,
pub number: f64,
pub original_author: Option<String>,
pub original_author_id: Option<f64>,
pub pull_request: Option<PullRequestMeta>,
pub ref: Option<String>,
pub repository: Option<RepositoryMeta>,
pub state: String,
pub title: String,
pub updated_at: String,
pub url: Option<String>,
pub user: User,
}Fields§
§assets: Option<Vec<Attachment>>§assignee: Option<User>§assignees: Vec<User>Список назначенных пользователей
body: StringОписание
closed_at: Option<String>Дата закрытия (если закрыта)
comments: f64Количество комментариев
created_at: StringДата создания (ISO 8601)
due_date: Option<String>§html_url: StringСсылка на задачу в веб-интерфейсе
id: f64Внутренний ID задачи
is_locked: Option<bool>§labels: Vec<Label>Список меток
milestone: Option<Milestone>Веха (milestone)
number: f64Публичный индекс задачи/PR в репозитории
pull_request: Option<PullRequestMeta>Присутствует только для пул-реквестов
ref: Option<String>§repository: Option<RepositoryMeta>§state: StringСостояние: open, closed
title: StringЗаголовок
updated_at: StringДата последнего изменения
url: Option<String>§user: UserАвтор задачи
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Issue
impl<'de> Deserialize<'de> for Issue
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 Issue
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnsafeUnpin for Issue
impl UnwindSafe for Issue
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