pub struct InboxItem {
pub id: String,
pub kind: InboxItemKind,
pub run_id: String,
pub agent_id: String,
pub agent_name: String,
pub session_id: Option<String>,
pub status: String,
pub created_at: Option<String>,
pub summary: String,
pub detail: String,
pub options: Vec<String>,
}Expand description
One run waiting on a person, with what it is actually asking rather than just its status.
Fields§
§id: String§kind: InboxItemKind§run_id: String§agent_id: String§agent_name: String§session_id: Option<String>§status: String§created_at: Option<String>§summary: StringOne line: the tool being requested, the question, or the error.
detail: StringLonger body — tool arguments, error detail, question context. Empty string when there is none.
options: Vec<String>The agent’s own choices, for input items. Empty otherwise.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InboxItem
impl<'de> Deserialize<'de> for InboxItem
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 StructuralPartialEq for InboxItem
Auto Trait Implementations§
impl Freeze for InboxItem
impl RefUnwindSafe for InboxItem
impl Send for InboxItem
impl Sync for InboxItem
impl Unpin for InboxItem
impl UnsafeUnpin for InboxItem
impl UnwindSafe for InboxItem
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