pub struct WindowEntry {
pub key: String,
pub folders: Vec<PathBuf>,
pub repo: Option<String>,
pub title: Option<String>,
pub pid: Option<u32>,
pub last_seen: DateTime<Utc>,
}Expand description
One open window’s live registration. Serialized verbatim into list /
status payloads; consumers compute age from last_seen (RFC 3339).
Fields§
§key: StringThe companion-owned per-window key.
folders: Vec<PathBuf>Absolute workspace-folder paths.
repo: Option<String>Repository root or name, if reported.
title: Option<String>Window title, if reported.
pid: Option<u32>Reporting extension-host pid, if reported.
last_seen: DateTime<Utc>When the registry last heard from this window (register or heartbeat).
Trait Implementations§
Source§impl Clone for WindowEntry
impl Clone for WindowEntry
Source§fn clone(&self) -> WindowEntry
fn clone(&self) -> WindowEntry
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 WindowEntry
impl Debug for WindowEntry
Auto Trait Implementations§
impl Freeze for WindowEntry
impl RefUnwindSafe for WindowEntry
impl Send for WindowEntry
impl Sync for WindowEntry
impl Unpin for WindowEntry
impl UnsafeUnpin for WindowEntry
impl UnwindSafe for WindowEntry
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