pub struct IntelligenceRuntimeConfig {Show 13 fields
pub enabled: bool,
pub declined: bool,
pub accept_proprietary: bool,
pub staging: bool,
pub root: String,
pub manifest_sha256: String,
pub trust_key_hex: String,
pub channel_url: String,
pub channel_signature_url: String,
pub channel_root_key_hex: String,
pub license_configuration: String,
pub context_policy_apply: bool,
pub team_artifact_projects: Vec<TeamArtifactProject>,
}Expand description
Never merged from a project file, including trusted workspaces. A public signing key is not a credential; the package cannot provide its pin.
Fields§
§enabled: bool§declined: boolSwitched off with setup runtime deactivate, also before anything
was installed: setup, onboard, repair, bootstrap, harden and connect
never install or enable the runtime on their own. Only an explicit
setup runtime install (an activation) clears it.
Never written to config.toml: this section is deny_unknown_fields,
and 3.12.7 (a running daemon, a rollback) would refuse the whole file
and fall back to the defaults. The decline is the file
DECLINED_MARKER next to config.toml, which older versions
neither read nor rewrite; Self::with_recorded_decline merges it.
Still read from config.toml, so a configuration written by an early
3.12.8 build keeps loading.
accept_proprietary: bool§staging: bool§root: String§manifest_sha256: String§trust_key_hex: String§channel_url: String§channel_signature_url: String§channel_root_key_hex: String§license_configuration: StringExplicit user-global handoff to the private verifier, never project input.
context_policy_apply: boolNo effect: read-strategy policies are no longer learned by a runtime.
Kept so an existing config (deny_unknown_fields) still loads.
team_artifact_projects: Vec<TeamArtifactProject>The projects of this user that read shared team artifacts, each with its team identity. Empty by default: a project without an entry uses no artifact. Global-only like the rest of this section, so a repository cannot name itself. It carries no clearance: none is configurable here.
Implementations§
Source§impl IntelligenceRuntimeConfig
impl IntelligenceRuntimeConfig
Sourcepub fn deactivated(&self) -> bool
pub fn deactivated(&self) -> bool
Switched off with setup runtime deactivate, before or after an
install (an install accepted once and no longer enabled counts too).
Read from the configuration alone: whether the installed package
still verifies does not change the person’s choice.
Sourcepub fn with_recorded_decline(self) -> Self
pub fn with_recorded_decline(self) -> Self
This configuration with the decline recorded next to config.toml.
Sourcepub fn switch_off(&mut self)
pub fn switch_off(&mut self)
setup runtime deactivate: off, and kept off by setup.
Trait Implementations§
Source§impl Clone for IntelligenceRuntimeConfig
impl Clone for IntelligenceRuntimeConfig
Source§impl Debug for IntelligenceRuntimeConfig
impl Debug for IntelligenceRuntimeConfig
Source§impl Default for IntelligenceRuntimeConfig
impl Default for IntelligenceRuntimeConfig
Source§impl<'de> Deserialize<'de> for IntelligenceRuntimeConfigwhere
IntelligenceRuntimeConfig: Default,
impl<'de> Deserialize<'de> for IntelligenceRuntimeConfigwhere
IntelligenceRuntimeConfig: Default,
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>,
impl Eq for IntelligenceRuntimeConfig
impl StructuralPartialEq for IntelligenceRuntimeConfig
Auto Trait Implementations§
impl Forget for IntelligenceRuntimeConfig
impl Freeze for IntelligenceRuntimeConfig
impl Move for IntelligenceRuntimeConfig
impl RefUnwindSafe for IntelligenceRuntimeConfig
impl Send for IntelligenceRuntimeConfig
impl Sync for IntelligenceRuntimeConfig
impl Unpin for IntelligenceRuntimeConfig
impl UnsafeUnpin for IntelligenceRuntimeConfig
impl UnwindSafe for IntelligenceRuntimeConfig
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more