pub struct TicketState {
pub id: u64,
pub name: Option<String>,
pub state_type_id: Option<u64>,
pub ignore_escalation: Option<bool>,
pub default_create: Option<bool>,
pub default_follow_up: Option<bool>,
pub active: Option<bool>,
pub note: Option<String>,
}Expand description
A configurable ticket state.
Fields§
§id: u64Numeric state ID.
name: Option<String>Display name (new, open, closed, …).
state_type_id: Option<u64>ID of the underlying state type.
ignore_escalation: Option<bool>Whether tickets in this state ignore escalation timers.
default_create: Option<bool>Whether this is the default state on ticket creation.
default_follow_up: Option<bool>Whether this is the default state on customer follow-up.
active: Option<bool>Whether the state is active.
note: Option<String>Free-form note.
Trait Implementations§
Source§impl Clone for TicketState
impl Clone for TicketState
Source§fn clone(&self) -> TicketState
fn clone(&self) -> TicketState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TicketState
impl Debug for TicketState
Source§impl<'de> Deserialize<'de> for TicketState
impl<'de> Deserialize<'de> for TicketState
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 TicketState
impl RefUnwindSafe for TicketState
impl Send for TicketState
impl Sync for TicketState
impl Unpin for TicketState
impl UnsafeUnpin for TicketState
impl UnwindSafe for TicketState
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