pub struct ChatBox { /* private fields */ }Implementations§
Source§impl ChatBox
impl ChatBox
pub fn new( id: BoxId, box_type: String, contents: String, hidden_type: String, hidden_contents: String, ) -> ChatBox
pub const fn id(&self) -> BoxId
pub fn box_type(&self) -> &str
pub fn contents(&self) -> &str
pub fn tool_call_metadata(&self) -> Result<Option<ProviderCall>, RecoveryError>
pub fn tool_result_metadata( &self, ) -> Result<Option<ToolResultMetadata>, RecoveryError>
Trait Implementations§
impl Eq for ChatBox
impl StructuralPartialEq for ChatBox
Auto Trait Implementations§
impl Freeze for ChatBox
impl RefUnwindSafe for ChatBox
impl Send for ChatBox
impl Sync for ChatBox
impl Unpin for ChatBox
impl UnsafeUnpin for ChatBox
impl UnwindSafe for ChatBox
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