[][src]Struct homebins::InstallDownload

pub struct InstallDownload {
    pub download: Url,
    pub checksums: Checksums,
    pub install: Install,
}

An installation definition.

A URL to download, extract if required, and install to $HOME.

Fields

download: Url

The URL to download from.

checksums: Checksums

Checksums to verify the download with.

install: Install

Files to install from this download.

Implementations

impl InstallDownload[src]

pub fn filename(&self) -> Result<&str, Error>[src]

The file name of the URL, that is, the final segment of the path of download.

Trait Implementations

impl Debug for InstallDownload[src]

impl<'de> Deserialize<'de> for InstallDownload[src]

impl PartialEq<InstallDownload> for InstallDownload[src]

impl StructuralPartialEq for InstallDownload[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,