pub enum InteractionMode {
Read,
Act,
}Expand description
The user’s preferred way of working with an agent.
Variants§
Implementations§
Source§impl InteractionMode
impl InteractionMode
pub fn toggled(self) -> Self
Sourcepub fn developer_instruction(self) -> &'static str
pub fn developer_instruction(self) -> &'static str
Developer instruction for the current mode. Tool availability is unchanged.
Trait Implementations§
Source§impl Clone for InteractionMode
impl Clone for InteractionMode
impl Copy for InteractionMode
Source§impl Debug for InteractionMode
impl Debug for InteractionMode
Source§impl Default for InteractionMode
impl Default for InteractionMode
Source§impl<'de> Deserialize<'de> for InteractionMode
impl<'de> Deserialize<'de> for InteractionMode
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 Display for InteractionMode
impl Display for InteractionMode
impl Eq for InteractionMode
Source§impl FromStr for InteractionMode
impl FromStr for InteractionMode
Source§impl PartialEq for InteractionMode
impl PartialEq for InteractionMode
Source§impl Serialize for InteractionMode
impl Serialize for InteractionMode
impl StructuralPartialEq for InteractionMode
Auto Trait Implementations§
impl Forget for InteractionMode
impl Freeze for InteractionMode
impl Move for InteractionMode
impl RefUnwindSafe for InteractionMode
impl Send for InteractionMode
impl Sync for InteractionMode
impl Unpin for InteractionMode
impl UnsafeUnpin for InteractionMode
impl UnwindSafe for InteractionMode
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