pub struct App {
pub chat_container: RefContainer,
pub pending_section: Rc<DynamicLines>,
pub status_section: Rc<DynamicLines>,
pub queued_section: Rc<DynamicLines>,
pub working_section: Rc<DynamicLines>,
/* private fields */
}Expand description
Main application state.
Fields§
§chat_container: RefContainerComponent-based chat area - mirrors pi’s this.chatContainer.
Components are added here in handle_agent_event instead of pushing to messages.
pending_section: Rc<DynamicLines>Pending streaming text section.
status_section: Rc<DynamicLines>Status text section (transient, dim).
queued_section: Rc<DynamicLines>Queued messages section.
working_section: Rc<DynamicLines>Working indicator section.
Auto Trait Implementations§
impl !RefUnwindSafe for App
impl !Send for App
impl !Sync for App
impl !UnwindSafe for App
impl Freeze for App
impl Unpin for App
impl UnsafeUnpin for App
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