pub struct WorkspaceGateConfig {
pub check_command: String,
pub test_command: Option<String>,
pub permitted_paths: Option<Vec<String>>,
pub timeout_ms: u64,
pub output_limit_bytes: usize,
}Expand description
Configuration for workspace integrity and quality gates on real projects.
Fields§
§check_command: StringCommand to verify workspace compile/syntax (e.g. “cargo check”).
test_command: Option<String>Optional command to run existing project tests for regressions (e.g. “cargo test”).
permitted_paths: Option<Vec<String>>Optional whitelist of permitted modified files.
timeout_ms: u64Command timeout in milliseconds (default 30_000).
output_limit_bytes: usizeBounded stdout/stderr capture in bytes (default 64 KiB).
Implementations§
Trait Implementations§
Source§impl Clone for WorkspaceGateConfig
impl Clone for WorkspaceGateConfig
Source§impl Debug for WorkspaceGateConfig
impl Debug for WorkspaceGateConfig
Source§impl<'de> Deserialize<'de> for WorkspaceGateConfig
impl<'de> Deserialize<'de> for WorkspaceGateConfig
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 WorkspaceGateConfig
impl PartialEq for WorkspaceGateConfig
Source§impl Serialize for WorkspaceGateConfig
impl Serialize for WorkspaceGateConfig
impl StructuralPartialEq for WorkspaceGateConfig
Auto Trait Implementations§
impl Forget for WorkspaceGateConfig
impl Freeze for WorkspaceGateConfig
impl Move for WorkspaceGateConfig
impl RefUnwindSafe for WorkspaceGateConfig
impl Send for WorkspaceGateConfig
impl Sync for WorkspaceGateConfig
impl Unpin for WorkspaceGateConfig
impl UnsafeUnpin for WorkspaceGateConfig
impl UnwindSafe for WorkspaceGateConfig
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