pub struct ApprovalConfig {
pub rejection_action: RejectionAction,
pub require_approval_for_agent_work: bool,
}Expand description
Approval workflow configuration
Fields§
§rejection_action: RejectionActionAction to take when a spec is rejected
require_approval_for_agent_work: boolRequire approval for specs worked by agents (auto-detected via Co-Authored-By)
Trait Implementations§
Source§impl Clone for ApprovalConfig
impl Clone for ApprovalConfig
Source§fn clone(&self) -> ApprovalConfig
fn clone(&self) -> ApprovalConfig
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 ApprovalConfig
impl Debug for ApprovalConfig
Source§impl Default for ApprovalConfig
impl Default for ApprovalConfig
Source§fn default() -> ApprovalConfig
fn default() -> ApprovalConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApprovalConfig
impl<'de> Deserialize<'de> for ApprovalConfig
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 ApprovalConfig
impl RefUnwindSafe for ApprovalConfig
impl Send for ApprovalConfig
impl Sync for ApprovalConfig
impl Unpin for ApprovalConfig
impl UnwindSafe for ApprovalConfig
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