pub enum VerificationPhaseMode {
Disabled,
Warn,
Block,
}Expand description
Org/repo-level setting controlling what happens when an unknown tool
(not covered by any verification_phase-scoped policy) is called inside
an active verification phase.
Variants§
Disabled
No verification-phase enforcement (default).
Warn
Unknown tool call is flagged but the push still succeeds.
Block
Unknown tool call blocks the push.
Trait Implementations§
Source§impl Clone for VerificationPhaseMode
impl Clone for VerificationPhaseMode
Source§fn clone(&self) -> VerificationPhaseMode
fn clone(&self) -> VerificationPhaseMode
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 VerificationPhaseMode
impl Debug for VerificationPhaseMode
Source§impl Default for VerificationPhaseMode
impl Default for VerificationPhaseMode
Source§fn default() -> VerificationPhaseMode
fn default() -> VerificationPhaseMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerificationPhaseMode
impl<'de> Deserialize<'de> for VerificationPhaseMode
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 VerificationPhaseMode
impl PartialEq for VerificationPhaseMode
Source§fn eq(&self, other: &VerificationPhaseMode) -> bool
fn eq(&self, other: &VerificationPhaseMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VerificationPhaseMode
impl Serialize for VerificationPhaseMode
impl StructuralPartialEq for VerificationPhaseMode
Auto Trait Implementations§
impl Freeze for VerificationPhaseMode
impl RefUnwindSafe for VerificationPhaseMode
impl Send for VerificationPhaseMode
impl Sync for VerificationPhaseMode
impl Unpin for VerificationPhaseMode
impl UnsafeUnpin for VerificationPhaseMode
impl UnwindSafe for VerificationPhaseMode
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