pub struct DeriveConfig {
pub project_path: Option<String>,
pub no_snapshot_diffs: bool,
}Expand description
Configuration for deriving a Toolpath Path from an opencode
session.
Fields§
§project_path: Option<String>Override path.base.uri. Defaults to file://<session.directory>.
no_snapshot_diffs: boolDisable snapshot-based file diff extraction even when the snapshot repo is on disk. Useful for tests / offline runs.
Trait Implementations§
Source§impl Clone for DeriveConfig
impl Clone for DeriveConfig
Source§fn clone(&self) -> DeriveConfig
fn clone(&self) -> DeriveConfig
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 DeriveConfig
impl Debug for DeriveConfig
Source§impl Default for DeriveConfig
impl Default for DeriveConfig
Source§fn default() -> DeriveConfig
fn default() -> DeriveConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeriveConfig
impl RefUnwindSafe for DeriveConfig
impl Send for DeriveConfig
impl Sync for DeriveConfig
impl Unpin for DeriveConfig
impl UnsafeUnpin for DeriveConfig
impl UnwindSafe for DeriveConfig
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