pub struct Ticket {
pub id: i64,
pub status: Option<String>,
pub subject: Option<String>,
pub comments: Vec<TicketComment>,
}Expand description
Information about a support ticket.
Fields
id: i64The ticket id.
status: Option<String>The current status of the ticket.
subject: Option<String>The subject line of the ticket.
comments: Vec<TicketComment>A list of comments on the ticket.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Ticket
impl<'de> Deserialize<'de> for Ticket
sourcefn 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 RefUnwindSafe for Ticket
impl Send for Ticket
impl Sync for Ticket
impl Unpin for Ticket
impl UnwindSafe for Ticket
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more