pub struct ClaudeCodeCliConfig {
pub claude_path: String,
pub project_path: PathBuf,
pub prompt: String,
pub session_id: String,
pub anthropic_base_url: String,
pub json_schema: Option<String>,
pub skip_permissions: bool,
pub include_partial_messages: bool,
}Fields§
§claude_path: String§project_path: PathBuf§prompt: String§session_id: StringA UUID string. Claude Code requires session ids to be valid UUIDs.
anthropic_base_url: Stringe.g. http://localhost:8080/anthropic (Claude will append /v1/...)
json_schema: Option<String>Optional structured output schema (passed as --json-schema).
skip_permissions: boolIf true, pass --dangerously-skip-permissions.
include_partial_messages: boolIf true, pass --include-partial-messages to improve streaming UX.
Trait Implementations§
Source§impl Clone for ClaudeCodeCliConfig
impl Clone for ClaudeCodeCliConfig
Source§fn clone(&self) -> ClaudeCodeCliConfig
fn clone(&self) -> ClaudeCodeCliConfig
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 moreAuto Trait Implementations§
impl Freeze for ClaudeCodeCliConfig
impl RefUnwindSafe for ClaudeCodeCliConfig
impl Send for ClaudeCodeCliConfig
impl Sync for ClaudeCodeCliConfig
impl Unpin for ClaudeCodeCliConfig
impl UnsafeUnpin for ClaudeCodeCliConfig
impl UnwindSafe for ClaudeCodeCliConfig
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