pub struct Workflow {
pub id: Box<PublishedWorkflowId>,
pub description: String,
pub transitions: Option<Vec<Transition>>,
pub statuses: Option<Vec<WorkflowStatus>>,
pub is_default: Option<bool>,
}
Expand description
Workflow : Details about a workflow.
Fields§
§id: Box<PublishedWorkflowId>
§description: String
The description of the workflow.
transitions: Option<Vec<Transition>>
The transitions of the workflow.
statuses: Option<Vec<WorkflowStatus>>
The statuses of the workflow.
is_default: Option<bool>
Whether this is the default workflow.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Workflow
impl<'de> Deserialize<'de> for Workflow
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
impl StructuralPartialEq for Workflow
Auto Trait Implementations§
impl Freeze for Workflow
impl RefUnwindSafe for Workflow
impl Send for Workflow
impl Sync for Workflow
impl Unpin for Workflow
impl UnwindSafe for Workflow
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