pub struct Ticket {Show 13 fields
pub version: u32,
pub id: String,
pub title: String,
pub body: String,
pub priority: Option<String>,
pub labels: Vec<String>,
pub assignees: Vec<String>,
pub relations: Vec<Relation>,
pub attachments: Vec<Attachment>,
pub comments: Vec<Comment>,
pub next_comment: u64,
pub created: DateTime<Utc>,
pub updated: DateTime<Utc>,
}Expand description
A ticket (card). Stored as its own file; comments are inline and short.
Fields§
§version: u32On-disk format version.
id: StringTicket ID, e.g. T-23.
title: StringShort title.
body: StringLong-form body (Markdown allowed inside the JSON string).
priority: Option<String>Priority (references a name in definitions.json).
labels: Vec<String>Applied label names (the only categorization mechanism).
assignees: Vec<String>Assignee identities (git-style Name <email> or agent IDs).
relations: Vec<Relation>Relations to other tickets.
attachments: Vec<Attachment>Attached media/files (stored under .wipe/media/ or referenced in-repo).
comments: Vec<Comment>Inline comment thread.
next_comment: u64Next comment counter for this ticket.
created: DateTime<Utc>When the ticket was created.
updated: DateTime<Utc>When the ticket was last modified.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ticket
impl<'de> Deserialize<'de> for Ticket
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
impl StructuralPartialEq for Ticket
Auto Trait Implementations§
impl Freeze for Ticket
impl RefUnwindSafe for Ticket
impl Send for Ticket
impl Sync for Ticket
impl Unpin for Ticket
impl UnsafeUnpin for Ticket
impl UnwindSafe for Ticket
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