pub enum Level {
SafeToAutomate,
DraftOnly,
InternalTaskOnly,
ManagerApprovalRequired,
NeverAutomate,
}Expand description
Automation authority level that says whether a workflow may run, draft, create internal tasks, or require approval.
Variants§
SafeToAutomate
Safe to automate outcome in the automation authority or human-review policy.
DraftOnly
Draft only outcome in the automation authority or human-review policy.
InternalTaskOnly
Internal task only outcome in the automation authority or human-review policy.
ManagerApprovalRequired
Manager approval required outcome in the automation authority or human-review policy.
NeverAutomate
Never automate outcome in the automation authority or human-review policy.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Level
impl<'de> Deserialize<'de> for Level
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 Eq for Level
impl StructuralPartialEq for Level
Auto Trait Implementations§
impl Freeze for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnsafeUnpin for Level
impl UnwindSafe for Level
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