pub struct Ticket {Show 13 fields
pub id: u64,
pub number: Option<String>,
pub title: Option<String>,
pub group_id: Option<u64>,
pub state_id: Option<u64>,
pub priority_id: Option<u64>,
pub customer_id: Option<u64>,
pub owner_id: Option<u64>,
pub organization_id: Option<u64>,
pub note: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub extra: Map<String, Value>,
}Expand description
A Zammad ticket (compact form - IDs only).
Fields§
§id: u64Numeric ticket ID.
number: Option<String>Customer-facing ticket number (e.g. "100123").
title: Option<String>Ticket subject / title.
group_id: Option<u64>ID of the assigned group (queue).
state_id: Option<u64>ID of the current state (new, open, closed, …).
priority_id: Option<u64>ID of the assigned priority.
customer_id: Option<u64>ID of the customer this ticket belongs to.
owner_id: Option<u64>ID of the agent currently owning the ticket.
organization_id: Option<u64>ID of the customer’s organization, if any.
note: Option<String>Free-form internal note attached to the ticket.
created_at: Option<DateTime<Utc>>When the ticket was created.
updated_at: Option<DateTime<Utc>>When the ticket was last updated.
extra: Map<String, Value>Any attribute Zammad returned that isn’t modelled above (typically Object-Manager custom fields).
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
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