pub struct Ticket {Show 21 fields
pub id: Uuid,
pub title: String,
pub description: Option<String>,
pub spec: Option<String>,
pub status: TicketStatus,
pub state: TicketState,
pub assigned: Option<String>,
pub closed_by: Option<String>,
pub priority: Option<i64>,
pub points: Option<i64>,
pub milestone: Option<String>,
pub code: Option<String>,
pub parent: Option<Uuid>,
pub children: BTreeSet<Uuid>,
pub depends_on: BTreeSet<Uuid>,
pub blocks: BTreeSet<Uuid>,
pub tags: BTreeSet<String>,
pub meta: BTreeMap<String, String>,
pub comments: Vec<Comment>,
pub created_at: OffsetDateTime,
pub created_by: String,
}Expand description
A ticket, fully hydrated from project-target metadata.
Fields§
§id: Uuid§title: String§description: Option<String>§spec: Option<String>§status: TicketStatus§state: TicketState§assigned: Option<String>§closed_by: Option<String>§priority: Option<i64>§points: Option<i64>§milestone: Option<String>§code: Option<String>§parent: Option<Uuid>§children: BTreeSet<Uuid>§depends_on: BTreeSet<Uuid>§blocks: BTreeSet<Uuid>§meta: BTreeMap<String, String>§comments: Vec<Comment>§created_at: OffsetDateTime§created_by: StringImplementations§
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 Eq for Ticket
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.