pub struct ForgeConfig {Show 18 fields
pub mode: String,
pub execution_backend_preference: String,
pub container_runtime_preference: String,
pub allow_test_modifications: bool,
pub sealed_allow_host_backend: bool,
pub forbidden_paths: Vec<String>,
pub caps: CapsConfig,
pub mindstate: MindstateConfig,
pub novelty: NoveltyConfig,
pub stabilization: StabilizationConfig,
pub container: ContainerConfig,
pub lab: LabConfig,
pub cea: CeaConfig,
pub danger: DangerConfig,
pub limits: ForgeLimits,
pub workspace: WorkspacePolicy,
pub statistics: StatisticsPolicy,
pub comparability: ComparabilityPolicy,
}Expand description
The single source of truth for all Forge runtime behavior.
Fields§
§mode: String“standard” or “sealed_local”
execution_backend_preference: String“auto” | “host” | “container”
container_runtime_preference: String“auto” | “docker” | “podman” | “nerdctl”
allow_test_modifications: bool§sealed_allow_host_backend: bool§forbidden_paths: Vec<String>§caps: CapsConfig§mindstate: MindstateConfig§novelty: NoveltyConfig§stabilization: StabilizationConfig§container: ContainerConfig§lab: LabConfig§cea: CeaConfig§danger: DangerConfig§limits: ForgeLimits§workspace: WorkspacePolicy§statistics: StatisticsPolicy§comparability: ComparabilityPolicyTrait Implementations§
Source§impl Clone for ForgeConfig
impl Clone for ForgeConfig
Source§fn clone(&self) -> ForgeConfig
fn clone(&self) -> ForgeConfig
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 ForgeConfig
impl Debug for ForgeConfig
Source§impl Default for ForgeConfig
impl Default for ForgeConfig
Source§impl<'de> Deserialize<'de> for ForgeConfig
impl<'de> Deserialize<'de> for ForgeConfig
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 ForgeConfig
impl RefUnwindSafe for ForgeConfig
impl Send for ForgeConfig
impl Sync for ForgeConfig
impl Unpin for ForgeConfig
impl UnsafeUnpin for ForgeConfig
impl UnwindSafe for ForgeConfig
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