pub struct DetectedClient {
pub client_type: ClientType,
pub home_dir: PathBuf,
pub mcp_configs: Vec<PathBuf>,
pub settings_configs: Vec<PathBuf>,
}Expand description
Information about a detected AI coding client.
Fields§
§client_type: ClientTypeThe type of client.
home_dir: PathBufThe home directory of the client.
mcp_configs: Vec<PathBuf>Existing MCP configuration files.
settings_configs: Vec<PathBuf>Existing settings configuration files.
Implementations§
Source§impl DetectedClient
impl DetectedClient
Sourcepub fn all_configs(&self) -> Vec<PathBuf>
pub fn all_configs(&self) -> Vec<PathBuf>
Returns all existing configuration files for this client.
Sourcepub fn has_configs(&self) -> bool
pub fn has_configs(&self) -> bool
Returns true if any configuration files exist.
Trait Implementations§
Source§impl Clone for DetectedClient
impl Clone for DetectedClient
Source§fn clone(&self) -> DetectedClient
fn clone(&self) -> DetectedClient
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 DetectedClient
impl RefUnwindSafe for DetectedClient
impl Send for DetectedClient
impl Sync for DetectedClient
impl Unpin for DetectedClient
impl UnwindSafe for DetectedClient
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