pub struct ClaudeCodeConfig {
pub id: ClaudeCodeId,
pub name: String,
pub claude_session_id: Option<String>,
pub head: Position,
pub working_dir: String,
pub model: Model,
pub system_prompt: Option<String>,
pub mcp_config: Option<Value>,
pub loopback_enabled: bool,
pub metadata: Option<Value>,
pub created_at: i64,
pub updated_at: i64,
}Expand description
ClaudeCode session configuration
Fields§
§id: ClaudeCodeIdUnique identifier for this session
name: StringHuman-readable name
claude_session_id: Option<String>Claude Code’s internal session ID (for –resume)
head: PositionThe canonical head - current position in conversation tree
working_dir: StringWorking directory for Claude Code
model: ModelModel to use
system_prompt: Option<String>System prompt / instructions
mcp_config: Option<Value>MCP server configuration (JSON)
loopback_enabled: boolEnable loopback mode - routes tool permissions through parent for approval
metadata: Option<Value>Additional metadata
created_at: i64Created timestamp
updated_at: i64Last updated timestamp
Implementations§
Trait Implementations§
Source§impl Clone for ClaudeCodeConfig
impl Clone for ClaudeCodeConfig
Source§fn clone(&self) -> ClaudeCodeConfig
fn clone(&self) -> ClaudeCodeConfig
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 ClaudeCodeConfig
impl Debug for ClaudeCodeConfig
Source§impl<'de> Deserialize<'de> for ClaudeCodeConfig
impl<'de> Deserialize<'de> for ClaudeCodeConfig
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
Source§impl From<&ClaudeCodeConfig> for ClaudeCodeInfo
impl From<&ClaudeCodeConfig> for ClaudeCodeInfo
Source§fn from(config: &ClaudeCodeConfig) -> Self
fn from(config: &ClaudeCodeConfig) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ClaudeCodeConfig
impl JsonSchema for ClaudeCodeConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ClaudeCodeConfig
impl RefUnwindSafe for ClaudeCodeConfig
impl Send for ClaudeCodeConfig
impl Sync for ClaudeCodeConfig
impl Unpin for ClaudeCodeConfig
impl UnsafeUnpin for ClaudeCodeConfig
impl UnwindSafe for ClaudeCodeConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more