pub struct Issue {Show 22 fields
pub id: String,
pub title: String,
pub description: String,
pub design: String,
pub acceptance_criteria: String,
pub notes: String,
pub status: String,
pub priority: i32,
pub issue_type: String,
pub assignee: String,
pub estimated_minutes: Option<i32>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub due_date: Option<DateTime<Utc>>,
pub closed_at: Option<DateTime<Utc>>,
pub labels: Vec<String>,
pub comments: Vec<Comment>,
pub dependencies: Vec<Dependency>,
pub source_repo: String,
pub workspace_prefix: Option<String>,
pub content_hash: Option<String>,
pub external_ref: Option<String>,
}Fields§
§id: String§title: String§description: String§design: String§acceptance_criteria: String§notes: String§status: String§priority: i32§issue_type: String§assignee: String§estimated_minutes: Option<i32>§created_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>§due_date: Option<DateTime<Utc>>§closed_at: Option<DateTime<Utc>>§labels: Vec<String>§comments: Vec<Comment>§dependencies: Vec<Dependency>§source_repo: String§workspace_prefix: Option<String>Internal workspace prefix used to recover raw IDs from namespaced workspace issues. Computed during workspace loading and never emitted.
content_hash: Option<String>Internal content hash for dedup — computed, not serialized to JSON output.
external_ref: Option<String>Optional link to external issue tracker (e.g., GitHub issue URL).
Implementations§
Source§impl Issue
impl Issue
pub fn normalized_status(&self) -> String
Sourcepub fn is_closed_like(&self) -> bool
pub fn is_closed_like(&self) -> bool
Returns true for any terminal status (closed or tombstone).
Sourcepub fn is_tombstone(&self) -> bool
pub fn is_tombstone(&self) -> bool
Returns true only for the “tombstone” status (permanently removed).
Sourcepub fn is_in_progress(&self) -> bool
pub fn is_in_progress(&self) -> bool
Returns true when the issue is already being worked on.
pub fn is_open_like(&self) -> bool
pub fn priority_normalized(&self) -> f64
pub fn validate(&self) -> Result<()>
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