pub struct DefaultWorkflow {
pub workflow: String,
pub update_draft_if_needed: Option<bool>,
}
Expand description
DefaultWorkflow : Details about the default workflow.
Fields§
§workflow: String
The name of the workflow to set as the default workflow.
update_draft_if_needed: Option<bool>
Whether a draft workflow scheme is created or updated when updating an active workflow scheme. The draft is updated with the new default workflow. Defaults to false
.
Implementations§
Source§impl DefaultWorkflow
impl DefaultWorkflow
Sourcepub fn new(workflow: String) -> DefaultWorkflow
pub fn new(workflow: String) -> DefaultWorkflow
Details about the default workflow.
Trait Implementations§
Source§impl Clone for DefaultWorkflow
impl Clone for DefaultWorkflow
Source§fn clone(&self) -> DefaultWorkflow
fn clone(&self) -> DefaultWorkflow
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 Debug for DefaultWorkflow
impl Debug for DefaultWorkflow
Source§impl Default for DefaultWorkflow
impl Default for DefaultWorkflow
Source§fn default() -> DefaultWorkflow
fn default() -> DefaultWorkflow
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DefaultWorkflow
impl<'de> Deserialize<'de> for DefaultWorkflow
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 DefaultWorkflow
impl PartialEq for DefaultWorkflow
Source§impl Serialize for DefaultWorkflow
impl Serialize for DefaultWorkflow
impl StructuralPartialEq for DefaultWorkflow
Auto Trait Implementations§
impl Freeze for DefaultWorkflow
impl RefUnwindSafe for DefaultWorkflow
impl Send for DefaultWorkflow
impl Sync for DefaultWorkflow
impl Unpin for DefaultWorkflow
impl UnwindSafe for DefaultWorkflow
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