pub struct SessionEntry {
pub cwd: PathBuf,
pub shut_down: bool,
pub idle: bool,
pub archived: bool,
}Fields§
§cwd: PathBuf§shut_down: boolWhen true, only user text input should re-awaken the agent.
idle: boolWhen true, the agent is idle (no active work).
archived: boolWhen true, the session has been migrated away and should not be displayed.
Implementations§
Source§impl SessionEntry
impl SessionEntry
pub fn status(&self, has_pending_choices: bool) -> SessionStatus
Trait Implementations§
Source§impl Clone for SessionEntry
impl Clone for SessionEntry
Source§impl Debug for SessionEntry
impl Debug for SessionEntry
Source§impl<'de> Deserialize<'de> for SessionEntry
impl<'de> Deserialize<'de> for SessionEntry
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
Auto Trait Implementations§
impl Freeze for SessionEntry
impl RefUnwindSafe for SessionEntry
impl Send for SessionEntry
impl Sync for SessionEntry
impl Unpin for SessionEntry
impl UnsafeUnpin for SessionEntry
impl UnwindSafe for SessionEntry
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