pub struct ManagedInstall {
pub version: String,
pub major: u32,
pub dir: PathBuf,
pub used: bool,
}Fields§
§version: Stringx.y, also the folder name under <home>/pg/.
major: u32§dir: PathBuf§used: boolDiscovery picks this build (no system install of the same major, no newer managed one).
Trait Implementations§
Source§impl Clone for ManagedInstall
impl Clone for ManagedInstall
Source§impl Debug for ManagedInstall
impl Debug for ManagedInstall
Source§impl PartialEq for ManagedInstall
impl PartialEq for ManagedInstall
Source§impl Serialize for ManagedInstall
impl Serialize for ManagedInstall
impl StructuralPartialEq for ManagedInstall
Auto Trait Implementations§
impl Freeze for ManagedInstall
impl RefUnwindSafe for ManagedInstall
impl Send for ManagedInstall
impl Sync for ManagedInstall
impl Unpin for ManagedInstall
impl UnsafeUnpin for ManagedInstall
impl UnwindSafe for ManagedInstall
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