pub struct SessionListItem {Show 15 fields
pub session_id: String,
pub label: String,
pub kind: SessionListItemKind,
pub is_current: bool,
pub is_previous: bool,
pub last_activity: Option<u64>,
pub attached: bool,
pub attention: AttentionBadge,
pub attention_count: usize,
pub active_window_label: Option<String>,
pub path_hint: Option<String>,
pub command_hint: Option<String>,
pub git_branch: Option<GitBranchStatus>,
pub worktree_path: Option<PathBuf>,
pub worktree_branch: Option<String>,
}Fields§
§session_id: String§label: String§kind: SessionListItemKind§is_current: bool§is_previous: bool§last_activity: Option<u64>§attached: bool§attention: AttentionBadge§attention_count: usize§active_window_label: Option<String>§path_hint: Option<String>§command_hint: Option<String>§git_branch: Option<GitBranchStatus>§worktree_path: Option<PathBuf>§worktree_branch: Option<String>Implementations§
Source§impl SessionListItem
impl SessionListItem
pub fn picker_search_text(&self) -> String
Trait Implementations§
Source§impl Clone for SessionListItem
impl Clone for SessionListItem
Source§fn clone(&self) -> SessionListItem
fn clone(&self) -> SessionListItem
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionListItem
impl Debug for SessionListItem
Source§impl PartialEq for SessionListItem
impl PartialEq for SessionListItem
impl Eq for SessionListItem
impl StructuralPartialEq for SessionListItem
Auto Trait Implementations§
impl Freeze for SessionListItem
impl RefUnwindSafe for SessionListItem
impl Send for SessionListItem
impl Sync for SessionListItem
impl Unpin for SessionListItem
impl UnsafeUnpin for SessionListItem
impl UnwindSafe for SessionListItem
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