pub struct AssetDiffConfig {
pub enabled: bool,
pub visual_diff: bool,
pub visual_diff_threshold: f32,
pub supervisor: bool,
pub agent: String,
pub timeout_secs: u64,
}Expand description
Configuration for asset diff behaviour (from [draft.asset_diff] in workflow.toml).
Fields§
§enabled: boolWhether to run agent diff summaries at all.
visual_diff: boolWhether to also write a visual diff file alongside the review.
visual_diff_threshold: f32Threshold (0–1) for classifying localized vs. global change when rendering.
supervisor: boolWhether to run the supervisor confidence check.
agent: StringWhich agent binary to use. “builtin”/“claude-code” → claude CLI, others by name.
timeout_secs: u64Timeout for each agent call in seconds.
Trait Implementations§
Source§impl Clone for AssetDiffConfig
impl Clone for AssetDiffConfig
Source§fn clone(&self) -> AssetDiffConfig
fn clone(&self) -> AssetDiffConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 AssetDiffConfig
impl Debug for AssetDiffConfig
Source§impl Default for AssetDiffConfig
impl Default for AssetDiffConfig
Source§impl<'de> Deserialize<'de> for AssetDiffConfig
impl<'de> Deserialize<'de> for AssetDiffConfig
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 AssetDiffConfig
impl RefUnwindSafe for AssetDiffConfig
impl Send for AssetDiffConfig
impl Sync for AssetDiffConfig
impl Unpin for AssetDiffConfig
impl UnsafeUnpin for AssetDiffConfig
impl UnwindSafe for AssetDiffConfig
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