pub struct TicketEvent {
pub ticket_uid: String,
pub kind: String,
pub author: String,
pub at: i64,
pub body: String,
}Expand description
An append-only comment or lifecycle event on a ticket. Stored under the
TicketEvent kind, which merges by union (ADR 0005).
Fields§
§ticket_uid: StringThe uid of the ticket this event belongs to.
kind: StringEvent nature: “comment”, “state_change”, “sla”, …
at: i64Unix timestamp (seconds).
body: StringImplementations§
Source§impl TicketEvent
impl TicketEvent
Trait Implementations§
Source§impl Clone for TicketEvent
impl Clone for TicketEvent
Source§fn clone(&self) -> TicketEvent
fn clone(&self) -> TicketEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TicketEvent
impl Debug for TicketEvent
Source§impl<'de> Deserialize<'de> for TicketEvent
impl<'de> Deserialize<'de> for TicketEvent
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 PartialEq for TicketEvent
impl PartialEq for TicketEvent
Source§impl RecordCodec for TicketEvent
impl RecordCodec for TicketEvent
Source§impl Serialize for TicketEvent
impl Serialize for TicketEvent
impl Eq for TicketEvent
impl StructuralPartialEq for TicketEvent
Auto Trait Implementations§
impl Freeze for TicketEvent
impl RefUnwindSafe for TicketEvent
impl Send for TicketEvent
impl Sync for TicketEvent
impl Unpin for TicketEvent
impl UnsafeUnpin for TicketEvent
impl UnwindSafe for TicketEvent
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