pub struct SyncPlan {
pub fragment: Option<Value>,
pub unmapped: Vec<&'static str>,
}Expand description
What sync should do for one harness, computed purely from the unified
config and the registry’s crate::domain::harness::SyncSpec.
Fields§
§fragment: Option<Value>The JSON object to merge into the harness’s config file; None when
nothing is configured for it (the harness is then reported skipped).
unmapped: Vec<&'static str>Top-level settings that exist but have no mapping for this harness
(e.g. a top-level allowed_tools while the harness has no allow-list
concept). Surfaced in the report and on stderr so a rule that did not
land is always visible — never silently dropped. Per-harness fields
can’t end up here; those are rejected at config parse time.
Auto Trait Implementations§
impl Freeze for SyncPlan
impl RefUnwindSafe for SyncPlan
impl Send for SyncPlan
impl Sync for SyncPlan
impl Unpin for SyncPlan
impl UnsafeUnpin for SyncPlan
impl UnwindSafe for SyncPlan
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
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 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>
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