pub enum AgentCommandType {
CreateSession,
Prompt,
Steer,
FollowUp,
Abort,
ResolveApproval,
SetModel,
SetReasoningEffort,
SetProfile,
CompactSession,
ForkSession,
}Expand description
Stable initial command discriminators.
Variants§
CreateSession
Create a new session.
Prompt
Submit a canonical user prompt.
Steer
Inject steering text into the active run.
FollowUp
Queue a follow-up user message.
Abort
Abort the active run.
ResolveApproval
Resolve a pending approval.
SetModel
Select a model.
SetReasoningEffort
Select a reasoning effort for subsequent turns.
SetProfile
Select a product profile.
CompactSession
Request session compaction.
ForkSession
Fork from a durable message or branch point.
Implementations§
Trait Implementations§
Source§impl Clone for AgentCommandType
impl Clone for AgentCommandType
Source§fn clone(&self) -> AgentCommandType
fn clone(&self) -> AgentCommandType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AgentCommandType
Source§impl Debug for AgentCommandType
impl Debug for AgentCommandType
Source§impl<'de> Deserialize<'de> for AgentCommandType
impl<'de> Deserialize<'de> for AgentCommandType
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
impl Eq for AgentCommandType
Source§impl PartialEq for AgentCommandType
impl PartialEq for AgentCommandType
Source§impl Serialize for AgentCommandType
impl Serialize for AgentCommandType
impl StructuralPartialEq for AgentCommandType
Auto Trait Implementations§
impl Freeze for AgentCommandType
impl RefUnwindSafe for AgentCommandType
impl Send for AgentCommandType
impl Sync for AgentCommandType
impl Unpin for AgentCommandType
impl UnsafeUnpin for AgentCommandType
impl UnwindSafe for AgentCommandType
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