pub struct SessionInfo {
pub session_id: SessionId,
pub pane_id: PaneId,
pub terminal_id: TerminalId,
pub agent: Option<String>,
pub display_name: String,
pub agent_status: AgentState,
pub revision: u64,
pub layout: PaneLayout,
pub panes: Vec<PaneInfo>,
pub muted: bool,
pub outcome_acknowledged: bool,
}Fields§
§session_id: SessionId§pane_id: PaneId§terminal_id: TerminalId§agent: Option<String>Provider label reported by the pane’s normalized agent adapter.
display_name: String§agent_status: AgentState§revision: u64§layout: PaneLayout§panes: Vec<PaneInfo>§muted: bool§outcome_acknowledged: boolThis exact provider outcome revision was acknowledged by explicit UI interaction.
Implementations§
Source§impl SessionInfo
impl SessionInfo
pub fn has_foreground_job(&self) -> bool
pub fn is_agentic(&self) -> bool
pub fn listening_ports(&self) -> Vec<u16>
Trait Implementations§
Source§impl Clone for SessionInfo
impl Clone for SessionInfo
Source§fn clone(&self) -> SessionInfo
fn clone(&self) -> SessionInfo
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 SessionInfo
impl Debug for SessionInfo
Auto Trait Implementations§
impl Freeze for SessionInfo
impl RefUnwindSafe for SessionInfo
impl Send for SessionInfo
impl Sync for SessionInfo
impl Unpin for SessionInfo
impl UnsafeUnpin for SessionInfo
impl UnwindSafe for SessionInfo
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