pub enum WorkroomEventKind {
Message {
content: String,
},
Mention {
mentioned_user: String,
},
ToolCall {
tool_name: String,
summary: String,
},
ToolResult {
tool_name: String,
success: bool,
},
ApprovalRequest {
tool_name: String,
},
ArtifactLinked {
path: String,
kind: String,
},
Receipt {
summary: String,
},
Failure {
error: String,
},
NeedsHuman {
reason: String,
},
Resumed,
}Variants§
Message
Mention
ToolCall
ToolResult
ApprovalRequest
ArtifactLinked
Receipt
Failure
NeedsHuman
Resumed
Trait Implementations§
Source§impl Clone for WorkroomEventKind
impl Clone for WorkroomEventKind
Source§fn clone(&self) -> WorkroomEventKind
fn clone(&self) -> WorkroomEventKind
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 moreSource§impl Debug for WorkroomEventKind
impl Debug for WorkroomEventKind
Source§impl<'de> Deserialize<'de> for WorkroomEventKind
impl<'de> Deserialize<'de> for WorkroomEventKind
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 WorkroomEventKind
Source§impl PartialEq for WorkroomEventKind
impl PartialEq for WorkroomEventKind
Source§fn eq(&self, other: &WorkroomEventKind) -> bool
fn eq(&self, other: &WorkroomEventKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkroomEventKind
impl Serialize for WorkroomEventKind
impl StructuralPartialEq for WorkroomEventKind
Auto Trait Implementations§
impl Freeze for WorkroomEventKind
impl RefUnwindSafe for WorkroomEventKind
impl Send for WorkroomEventKind
impl Sync for WorkroomEventKind
impl Unpin for WorkroomEventKind
impl UnsafeUnpin for WorkroomEventKind
impl UnwindSafe for WorkroomEventKind
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