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