pub enum BackendHistoryItem {
User {
id: String,
text: String,
},
Agent {
id: String,
text: String,
},
Tool {
id: String,
name: String,
output: Option<String>,
status: String,
},
Other {
id: String,
payload: Value,
},
}Variants§
Trait Implementations§
Source§impl Clone for BackendHistoryItem
impl Clone for BackendHistoryItem
Auto Trait Implementations§
impl Freeze for BackendHistoryItem
impl RefUnwindSafe for BackendHistoryItem
impl Send for BackendHistoryItem
impl Sync for BackendHistoryItem
impl Unpin for BackendHistoryItem
impl UnsafeUnpin for BackendHistoryItem
impl UnwindSafe for BackendHistoryItem
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