[][src]Struct rdist::App

pub struct App {
    pub bin_src: String,
    pub current_version: String,
    pub version_src: String,
}

Fields

bin_src: Stringcurrent_version: Stringversion_src: String

Methods

impl App[src]

pub fn new() -> Self[src]

pub fn bin_src(self, src: String) -> Self[src]

Sets the remote source from which to download the updated package.

pub fn current_version(self, version: String) -> Self[src]

Sets the current binary version.

pub fn version_src(self, src: String) -> Self[src]

Sets the location from which to parse the latest binary version.

Trait Implementations

impl Debug for App[src]

impl Default for App[src]

Auto Trait Implementations

impl RefUnwindSafe for App

impl Send for App

impl Sync for App

impl Unpin for App

impl UnwindSafe for App

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> From<T> for T[src]

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

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.