pub struct DeriveConfig {
pub base_uri: Option<String>,
pub path_id: Option<String>,
pub title: Option<String>,
pub include_thinking: bool,
pub include_tool_uses: bool,
}Expand description
Configuration for derive_path.
Fields§
§base_uri: Option<String>Override path.base.uri. If None, fall back to the first turn’s
environment.working_dir.
path_id: Option<String>Override path.id. If None, derive as path-{provider}-{8chars}.
title: Option<String>Override meta.title. If None, default to "{provider} session: {8chars}".
include_thinking: boolInclude Turn.thinking in the structural change extras.
include_tool_uses: boolInclude Turn.tool_uses in the structural change extras.
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
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