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
Asset diff configuration for [draft.asset_diff] in workflow.toml (v0.15.4).
Controls whether ta draft view runs an agent diff summary and supervisor
confidence check for image and video artifacts.
[draft.asset_diff]
enabled = true
supervisor = true
visual_diff = false
visual_diff_threshold = 0.3
agent = "builtin"
timeout_secs = 60Fields§
§enabled: boolEnable agent diff summaries for image/video artifacts (default: true).
visual_diff: boolWrite a visual diff placeholder file alongside the review (default: false).
visual_diff_threshold: f32Threshold (0–1) for classifying localized vs. global changes (default: 0.3).
supervisor: boolRun supervisor confidence check (default: true).
agent: StringAgent binary: “builtin”/“claude-code” → claude CLI, others by name (default: “builtin”).
timeout_secs: u64Timeout per agent call in seconds (default: 60).
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