pub struct InstallManifest {
pub installer: String,
pub version: String,
pub asset: Option<String>,
pub sha256: Option<String>,
pub installed_at: Option<String>,
}Expand description
What an installer recorded about the binary it placed.
Fields§
§installer: Stringinstall.sh or install.ps1.
version: StringThe version it installed.
asset: Option<String>The release asset.
sha256: Option<String>The verified SHA-256 of that asset.
installed_at: Option<String>RFC 3339 UTC.
Trait Implementations§
Source§impl Clone for InstallManifest
impl Clone for InstallManifest
Source§fn clone(&self) -> InstallManifest
fn clone(&self) -> InstallManifest
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 InstallManifest
impl Debug for InstallManifest
Source§impl<'de> Deserialize<'de> for InstallManifest
impl<'de> Deserialize<'de> for InstallManifest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InstallManifest
Source§impl PartialEq for InstallManifest
impl PartialEq for InstallManifest
Source§fn eq(&self, other: &InstallManifest) -> bool
fn eq(&self, other: &InstallManifest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InstallManifest
impl Serialize for InstallManifest
impl StructuralPartialEq for InstallManifest
Auto Trait Implementations§
impl Freeze for InstallManifest
impl RefUnwindSafe for InstallManifest
impl Send for InstallManifest
impl Sync for InstallManifest
impl Unpin for InstallManifest
impl UnsafeUnpin for InstallManifest
impl UnwindSafe for InstallManifest
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