pub struct InternalFeatureFlags {
pub docker_capability: bool,
pub container_sandbox: bool,
pub session_sandbox: bool,
pub machine_payments: bool,
pub lua: bool,
}Expand description
Backend-only feature flags. Not exposed via API or frontend.
Used for internal gating (capability registration, infrastructure behavior).
Fields§
§docker_capability: boolDocker container capability. Disabled by default on all envs.
Enable via FEATURE_DOCKER_CAPABILITY=true.
container_sandbox: boolSelf-hosted container sandbox capability and coding harness.
Disabled by default on all envs.
Enable via FEATURE_CONTAINER_SANDBOX=true, or via the legacy
fallback FEATURE_DOCKER_CAPABILITY=true when
FEATURE_CONTAINER_SANDBOX is unset.
session_sandbox: boolManaged session-owned sandbox capability and lifecycle orchestration. Experimental and disabled by default.
machine_payments: boolMachine-payment capabilities (e.g. the Parallel paid search/extract/task
capability). Gates registration of any capability that spends real money
through PaymentAuthority. Disabled by default on all envs, including dev,
because spend is irreversible. Enable via FEATURE_MACHINE_PAYMENTS=true.
lua: boolExperimental sandboxed Lua execution capability (specs/lua-execution.md).
Disabled by default; requires the lua cargo feature to be compiled in to
actually run scripts. Enable via FEATURE_LUA=true.
Implementations§
Trait Implementations§
Source§impl Clone for InternalFeatureFlags
impl Clone for InternalFeatureFlags
Source§fn clone(&self) -> InternalFeatureFlags
fn clone(&self) -> InternalFeatureFlags
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InternalFeatureFlags
impl Debug for InternalFeatureFlags
Source§impl Default for InternalFeatureFlags
impl Default for InternalFeatureFlags
Source§fn default() -> InternalFeatureFlags
fn default() -> InternalFeatureFlags
impl Eq for InternalFeatureFlags
Source§impl PartialEq for InternalFeatureFlags
impl PartialEq for InternalFeatureFlags
Source§fn eq(&self, other: &InternalFeatureFlags) -> bool
fn eq(&self, other: &InternalFeatureFlags) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InternalFeatureFlags
Auto Trait Implementations§
impl Freeze for InternalFeatureFlags
impl RefUnwindSafe for InternalFeatureFlags
impl Send for InternalFeatureFlags
impl Sync for InternalFeatureFlags
impl Unpin for InternalFeatureFlags
impl UnsafeUnpin for InternalFeatureFlags
impl UnwindSafe for InternalFeatureFlags
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request