pub struct DetectedCli {
pub provider: Provider,
pub path: PathBuf,
pub version: String,
pub login: Login,
}Expand description
One installed CLI.
Fields§
§provider: ProviderWhich CLI.
path: PathBufAbsolute, symlink-resolved path.
version: String--version output (first line).
login: LoginLogin state.
Implementations§
Trait Implementations§
Source§impl Clone for DetectedCli
impl Clone for DetectedCli
Source§impl Debug for DetectedCli
impl Debug for DetectedCli
impl Eq for DetectedCli
Source§impl PartialEq for DetectedCli
impl PartialEq for DetectedCli
impl StructuralPartialEq for DetectedCli
Auto Trait Implementations§
impl Freeze for DetectedCli
impl RefUnwindSafe for DetectedCli
impl Send for DetectedCli
impl Sync for DetectedCli
impl Unpin for DetectedCli
impl UnsafeUnpin for DetectedCli
impl UnwindSafe for DetectedCli
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