pub struct Ticket {Show 13 fields
pub provider: Provider,
pub uid: String,
pub display: String,
pub item_type: String,
pub title: String,
pub state: State,
pub priority: Option<Priority>,
pub actors: Vec<Actor>,
pub labels: Vec<String>,
pub containers: Vec<Container>,
pub links: Vec<Link>,
pub body: TicketBody,
pub fields: BTreeMap<String, Value>,
}Expand description
A tracked work item, normalized across platforms (ADR 0010).
Does not derive Eq: fields holds arbitrary serde_json::Values for
unmapped provider data, and Value is PartialEq but not Eq.
Fields§
§provider: Provider§uid: StringStable provider-global id — the basis for this record’s RecordKey.
display: StringHuman display id (“ENG-123”, “PROJ-45”, “#7”).
item_type: StringWork-item type (“bug”, “story”, “incident”); provider/process-defined.
title: String§state: State§priority: Option<Priority>§actors: Vec<Actor>§labels: Vec<String>§containers: Vec<Container>§links: Vec<Link>§body: TicketBody§fields: BTreeMap<String, Value>Custom / unmapped provider fields, retained verbatim.
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
Source§impl RecordCodec for Ticket
impl RecordCodec 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