Skip to main content

ConfigReport

Struct ConfigReport 

Source
pub struct ConfigReport {
Show 22 fields pub schema_version: &'static str, pub config_files: Vec<String>, pub all: Field<bool>, pub harnesses: Field<Vec<String>>, pub exclude: Field<Vec<String>>, pub model: Field<String>, pub system: Field<String>, pub bypass: Field<bool>, pub mode: Field<PermissionMode>, pub timeout: Field<u64>, pub output_format: Field<OutputFormat>, pub schema_file: Field<String>, pub schema_max_retries: Field<u32>, pub max_parallel: Field<usize>, pub require_available: Field<bool>, pub history: Field<bool>, pub history_dir: Field<String>, pub allowed_tools: Field<Vec<String>>, pub denied_tools: Field<Vec<String>>, pub hooks: Field<Vec<HookEntry>>, pub env: BTreeMap<String, Field<String>>, pub harness: BTreeMap<String, HarnessReport>,
}
Expand description

The oneharness config report: the fully layered configuration with the provenance of every value, so a consumer can see exactly which file (or default) shaped each setting of a run.

Fields§

§schema_version: &'static str§config_files: Vec<String>

The files consulted, in layering order (user first, project last).

§all: Field<bool>§harnesses: Field<Vec<String>>§exclude: Field<Vec<String>>§model: Field<String>§system: Field<String>§bypass: Field<bool>§mode: Field<PermissionMode>

The configured mode, if any. Unset when only the legacy bypass field (or neither) is set — the effective mode then derives from bypass.

§timeout: Field<u64>§output_format: Field<OutputFormat>§schema_file: Field<String>§schema_max_retries: Field<u32>§max_parallel: Field<usize>§require_available: Field<bool>§history: Field<bool>§history_dir: Field<String>§allowed_tools: Field<Vec<String>>§denied_tools: Field<Vec<String>>§hooks: Field<Vec<HookEntry>>§env: BTreeMap<String, Field<String>>

Per-key provenance for the top-level [env].

§harness: BTreeMap<String, HarnessReport>

Per-harness overrides, with per-field provenance.

Trait Implementations§

Source§

impl Debug for ConfigReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Serialize for ConfigReport

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.