pub struct UiSession {
pub session: SessionKey,
pub cwd: Option<String>,
pub usage: ResourceUsage,
}Expand description
One registered Claude session.
Fields§
§session: SessionKeySession ID.
cwd: Option<String>Working directory of the session’s most recent lease, which names its project; None
when no lease gave one.
usage: ResourceUsageLive usage of the session’s whole process subtree.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UiSession
impl<'de> Deserialize<'de> for UiSession
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
impl StructuralPartialEq for UiSession
Auto Trait Implementations§
impl Forget for UiSession
impl Freeze for UiSession
impl Move for UiSession
impl RefUnwindSafe for UiSession
impl Send for UiSession
impl Sync for UiSession
impl Unpin for UiSession
impl UnsafeUnpin for UiSession
impl UnwindSafe for UiSession
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