pub struct StateConfig {
pub id: String,
pub label: String,
pub description: String,
pub terminal: bool,
pub worker_end: bool,
pub satisfies_deps: SatisfiesDeps,
pub dep_requires: Option<String>,
pub transitions: Vec<TransitionConfig>,
pub actionable: Vec<String>,
pub instructions: Option<String>,
}Fields§
§id: String§label: String§description: String§terminal: bool§worker_end: bool§satisfies_deps: SatisfiesDeps§dep_requires: Option<String>§transitions: Vec<TransitionConfig>§actionable: Vec<String>Who can actively pick up / act on tickets in this state.
Values: “agent”, “supervisor”, “engineer”, “any”.
Drives apm next, apm start, and apm list --actionable.
instructions: Option<String>Trait Implementations§
Source§impl Debug for StateConfig
impl Debug for StateConfig
Source§impl<'de> Deserialize<'de> for StateConfig
impl<'de> Deserialize<'de> for StateConfig
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 StateConfig
impl RefUnwindSafe for StateConfig
impl Send for StateConfig
impl Sync for StateConfig
impl Unpin for StateConfig
impl UnsafeUnpin for StateConfig
impl UnwindSafe for StateConfig
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