pub enum ChatInteractivity {
Full,
ReadOnly,
Hidden,
}Expand description
How a user can interact with a chat.
Full— user can send messages and watch (default when absent)ReadOnly— user can watch but not send messages (e.g. agent team workers)Hidden— internal worker not shown in UI at all
Supports the agent-team pattern where a lead chat is fully interactive and worker chats are read-only (visible for observability) or hidden (internal implementation detail). The harness sets this based on the chat’s role; the UI uses it to show appropriate controls.
Variants§
Full
User can send messages and watch (default when absent)
ReadOnly
User can watch but not send messages
Hidden
Internal worker not shown in UI at all
Trait Implementations§
Source§impl Clone for ChatInteractivity
impl Clone for ChatInteractivity
Source§fn clone(&self) -> ChatInteractivity
fn clone(&self) -> ChatInteractivity
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 ChatInteractivity
Source§impl Debug for ChatInteractivity
impl Debug for ChatInteractivity
Source§impl<'de> Deserialize<'de> for ChatInteractivity
impl<'de> Deserialize<'de> for ChatInteractivity
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 ChatInteractivity
Source§impl Hash for ChatInteractivity
impl Hash for ChatInteractivity
Source§impl PartialEq for ChatInteractivity
impl PartialEq for ChatInteractivity
Source§fn eq(&self, other: &ChatInteractivity) -> bool
fn eq(&self, other: &ChatInteractivity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatInteractivity
impl Serialize for ChatInteractivity
impl StructuralPartialEq for ChatInteractivity
Auto Trait Implementations§
impl Freeze for ChatInteractivity
impl RefUnwindSafe for ChatInteractivity
impl Send for ChatInteractivity
impl Sync for ChatInteractivity
impl Unpin for ChatInteractivity
impl UnsafeUnpin for ChatInteractivity
impl UnwindSafe for ChatInteractivity
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