pub struct WorkflowProposal {
pub name: String,
pub revision: WorkflowRevision,
pub profile: ExecutionProfileRevision,
pub activation: Option<WorkflowActivation>,
}Expand description
A proposal never changes after it is stored. Editing requires a new draft ID.
Fields§
§name: StringInitial publication name.
revision: WorkflowRevisionExact revision to publish.
profile: ExecutionProfileRevisionExact execution profile to publish.
activation: Option<WorkflowActivation>Omit to publish without starting work.
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowProposal
impl Clone for WorkflowProposal
Source§fn clone(&self) -> WorkflowProposal
fn clone(&self) -> WorkflowProposal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkflowProposal
impl Debug for WorkflowProposal
Source§impl<'de> Deserialize<'de> for WorkflowProposal
impl<'de> Deserialize<'de> for WorkflowProposal
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 WorkflowProposal
impl RefUnwindSafe for WorkflowProposal
impl Send for WorkflowProposal
impl Sync for WorkflowProposal
impl Unpin for WorkflowProposal
impl UnsafeUnpin for WorkflowProposal
impl UnwindSafe for WorkflowProposal
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