pub struct ProbeFacts {
pub os: String,
pub arch: String,
pub git_version: Option<(u32, u32)>,
pub home: String,
pub home_writable: bool,
pub ssh_appendable: bool,
pub existing_version: Option<String>,
}Expand description
Facts about a probed host, parsed from PROBE_SCRIPT’s output.
Fields§
§os: String§arch: String§git_version: Option<(u32, u32)>(major, minor) parsed from git --version; None if git is
missing or its output didn’t match the expected shape.
home: String§home_writable: bool§ssh_appendable: bool§existing_version: Option<String>Version of an already-installed git-ark at $HOME/git-ark, if any.
Trait Implementations§
Source§impl Clone for ProbeFacts
impl Clone for ProbeFacts
Source§fn clone(&self) -> ProbeFacts
fn clone(&self) -> ProbeFacts
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 ProbeFacts
impl Debug for ProbeFacts
Source§impl PartialEq for ProbeFacts
impl PartialEq for ProbeFacts
impl StructuralPartialEq for ProbeFacts
Auto Trait Implementations§
impl Freeze for ProbeFacts
impl RefUnwindSafe for ProbeFacts
impl Send for ProbeFacts
impl Sync for ProbeFacts
impl Unpin for ProbeFacts
impl UnsafeUnpin for ProbeFacts
impl UnwindSafe for ProbeFacts
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