pub struct AgentRestoreInfo {
pub agent_type: String,
pub agent_name: Option<String>,
pub agent_color: Option<String>,
pub model_override: Option<String>,
}Expand description
Agent restoration information extracted from session transcript entries.
Fields§
§agent_type: StringThe agent type/setting (e.g. “reviewer”, “worker”)
agent_name: Option<String>Human-readable agent name
agent_color: Option<String>Agent display color
model_override: Option<String>Model override if specified on the agent
Trait Implementations§
Source§impl Clone for AgentRestoreInfo
impl Clone for AgentRestoreInfo
Source§fn clone(&self) -> AgentRestoreInfo
fn clone(&self) -> AgentRestoreInfo
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 AgentRestoreInfo
impl Debug for AgentRestoreInfo
Source§impl<'de> Deserialize<'de> for AgentRestoreInfo
impl<'de> Deserialize<'de> for AgentRestoreInfo
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
Auto Trait Implementations§
impl Freeze for AgentRestoreInfo
impl RefUnwindSafe for AgentRestoreInfo
impl Send for AgentRestoreInfo
impl Sync for AgentRestoreInfo
impl Unpin for AgentRestoreInfo
impl UnsafeUnpin for AgentRestoreInfo
impl UnwindSafe for AgentRestoreInfo
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