pub struct InstalledHyperd {
pub binary_path: PathBuf,
pub version: String,
pub build_id: String,
pub platform: Platform,
pub cache_hit: bool,
}Expand description
Result of a successful install call.
Fields§
§binary_path: PathBufAbsolute or relative path to the installed hyperd executable.
Always under <dest_root>/current/.
version: StringInstalled release version (for example, "0.0.24457").
build_id: StringInstalled release build id (for example, "rc36858b6").
platform: PlatformHost platform this install targets.
cache_hit: booltrue if the versioned directory already existed and we skipped the
download; false if we downloaded and extracted fresh bytes.
Trait Implementations§
Source§impl Clone for InstalledHyperd
impl Clone for InstalledHyperd
Source§fn clone(&self) -> InstalledHyperd
fn clone(&self) -> InstalledHyperd
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 moreAuto Trait Implementations§
impl Freeze for InstalledHyperd
impl RefUnwindSafe for InstalledHyperd
impl Send for InstalledHyperd
impl Sync for InstalledHyperd
impl Unpin for InstalledHyperd
impl UnsafeUnpin for InstalledHyperd
impl UnwindSafe for InstalledHyperd
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