pub struct CreateWorkflowTransitionDetails {
pub name: String,
pub description: Option<String>,
pub from: Option<Vec<String>>,
pub to: String,
pub type: Type,
}
Expand description
CreateWorkflowTransitionDetails : The details of a workflow transition.
Fields§
§name: String
The name of the transition. The maximum length is 60 characters.
description: Option<String>
The description of the transition. The maximum length is 1000 characters.
from: Option<Vec<String>>
The statuses the transition can start from.
to: String
The status the transition goes to.
type: Type
The type of the transition.
Implementations§
Trait Implementations§
Source§impl Clone for CreateWorkflowTransitionDetails
impl Clone for CreateWorkflowTransitionDetails
Source§fn clone(&self) -> CreateWorkflowTransitionDetails
fn clone(&self) -> CreateWorkflowTransitionDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for CreateWorkflowTransitionDetails
impl Default for CreateWorkflowTransitionDetails
Source§fn default() -> CreateWorkflowTransitionDetails
fn default() -> CreateWorkflowTransitionDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateWorkflowTransitionDetails
impl<'de> Deserialize<'de> for CreateWorkflowTransitionDetails
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
Source§impl PartialEq for CreateWorkflowTransitionDetails
impl PartialEq for CreateWorkflowTransitionDetails
Source§fn eq(&self, other: &CreateWorkflowTransitionDetails) -> bool
fn eq(&self, other: &CreateWorkflowTransitionDetails) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateWorkflowTransitionDetails
Auto Trait Implementations§
impl Freeze for CreateWorkflowTransitionDetails
impl RefUnwindSafe for CreateWorkflowTransitionDetails
impl Send for CreateWorkflowTransitionDetails
impl Sync for CreateWorkflowTransitionDetails
impl Unpin for CreateWorkflowTransitionDetails
impl UnwindSafe for CreateWorkflowTransitionDetails
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