pub struct WatcherInfo {
pub name: &'static str,
pub description: &'static str,
pub default_paths: Vec<PathBuf>,
}Expand description
Information about a tool that can be watched for sessions.
Contains metadata about the watcher including its name, description, and default file system paths to search for sessions.
Fields§
§name: &'static strShort identifier for the watcher (e.g., “claude-code”, “cursor”).
description: &'static strHuman-readable description of what this watcher handles.
default_paths: Vec<PathBuf>Default file system paths where this tool stores sessions.
Trait Implementations§
Source§impl Clone for WatcherInfo
impl Clone for WatcherInfo
Source§fn clone(&self) -> WatcherInfo
fn clone(&self) -> WatcherInfo
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 moreAuto Trait Implementations§
impl Freeze for WatcherInfo
impl RefUnwindSafe for WatcherInfo
impl Send for WatcherInfo
impl Sync for WatcherInfo
impl Unpin for WatcherInfo
impl UnwindSafe for WatcherInfo
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