pub struct WorkflowUpdate {
pub default_status_mappings: Option<Vec<StatusMigration>>,
pub description: Option<String>,
pub id: String,
pub start_point_layout: Option<Option<Box<WorkflowLayout>>>,
pub status_mappings: Option<Vec<StatusMappingDto>>,
pub statuses: Vec<StatusLayoutUpdate>,
pub transitions: Vec<TransitionUpdateDto>,
pub version: Box<DocumentVersion>,
}
Expand description
WorkflowUpdate : The details of the workflows to update.
Fields§
§default_status_mappings: Option<Vec<StatusMigration>>
The mapping of old to new status ID.
description: Option<String>
The new description for this workflow.
id: String
The ID of this workflow.
start_point_layout: Option<Option<Box<WorkflowLayout>>>
§status_mappings: Option<Vec<StatusMappingDto>>
The mapping of old to new status ID for a specific project and issue type.
statuses: Vec<StatusLayoutUpdate>
The statuses associated with this workflow.
transitions: Vec<TransitionUpdateDto>
The transitions of this workflow.
version: Box<DocumentVersion>
Implementations§
Source§impl WorkflowUpdate
impl WorkflowUpdate
Sourcepub fn new(
id: String,
statuses: Vec<StatusLayoutUpdate>,
transitions: Vec<TransitionUpdateDto>,
version: DocumentVersion,
) -> WorkflowUpdate
pub fn new( id: String, statuses: Vec<StatusLayoutUpdate>, transitions: Vec<TransitionUpdateDto>, version: DocumentVersion, ) -> WorkflowUpdate
The details of the workflows to update.
Trait Implementations§
Source§impl Clone for WorkflowUpdate
impl Clone for WorkflowUpdate
Source§fn clone(&self) -> WorkflowUpdate
fn clone(&self) -> WorkflowUpdate
Returns a copy 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 Debug for WorkflowUpdate
impl Debug for WorkflowUpdate
Source§impl Default for WorkflowUpdate
impl Default for WorkflowUpdate
Source§fn default() -> WorkflowUpdate
fn default() -> WorkflowUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowUpdate
impl<'de> Deserialize<'de> for WorkflowUpdate
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 WorkflowUpdate
impl PartialEq for WorkflowUpdate
Source§impl Serialize for WorkflowUpdate
impl Serialize for WorkflowUpdate
impl StructuralPartialEq for WorkflowUpdate
Auto Trait Implementations§
impl Freeze for WorkflowUpdate
impl RefUnwindSafe for WorkflowUpdate
impl Send for WorkflowUpdate
impl Sync for WorkflowUpdate
impl Unpin for WorkflowUpdate
impl UnwindSafe for WorkflowUpdate
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