pub struct ShiftConfig {
pub mode: DriveMode,
pub svg_mode: SvgMode,
pub provider: String,
pub model: Option<String>,
pub dry_run: bool,
pub verbose: bool,
pub profile_path: Option<String>,
pub limits: SafetyLimits,
}Expand description
Configuration bundle for a single SHIFT processing run.
Fields§
§mode: DriveMode§svg_mode: SvgMode§provider: String§model: Option<String>§dry_run: bool§verbose: bool§profile_path: Option<String>Optional path to a custom provider profile JSON file.
limits: SafetyLimitsSafety limits for untrusted input processing. R8: Now wired through the pipeline to extraction functions.
Trait Implementations§
Source§impl Clone for ShiftConfig
impl Clone for ShiftConfig
Source§fn clone(&self) -> ShiftConfig
fn clone(&self) -> ShiftConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ShiftConfig
impl Debug for ShiftConfig
Auto Trait Implementations§
impl Freeze for ShiftConfig
impl RefUnwindSafe for ShiftConfig
impl Send for ShiftConfig
impl Sync for ShiftConfig
impl Unpin for ShiftConfig
impl UnsafeUnpin for ShiftConfig
impl UnwindSafe for ShiftConfig
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