pub enum SessionType {
Work,
Assist,
Deliberate,
Research,
}Expand description
Session type determines allowed behaviors.
Variants§
Work
Full autonomous work: may sign & act.
Assist
Propose only, never act.
Deliberate
Think-only; no tool calls.
Research
Read-only tools allowed; summarize with citations.
Trait Implementations§
Source§impl Clone for SessionType
impl Clone for SessionType
Source§fn clone(&self) -> SessionType
fn clone(&self) -> SessionType
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 SessionType
impl Debug for SessionType
Source§impl Default for SessionType
impl Default for SessionType
Source§fn default() -> SessionType
fn default() -> SessionType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionType
impl<'de> Deserialize<'de> for SessionType
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 PartialEq for SessionType
impl PartialEq for SessionType
Source§impl Serialize for SessionType
impl Serialize for SessionType
impl Copy for SessionType
impl Eq for SessionType
impl StructuralPartialEq for SessionType
Auto Trait Implementations§
impl Freeze for SessionType
impl RefUnwindSafe for SessionType
impl Send for SessionType
impl Sync for SessionType
impl Unpin for SessionType
impl UnwindSafe for SessionType
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