[][src]Struct mozversion::AppVersion

pub struct AppVersion {
    pub build_id: Option<String>,
    pub code_name: Option<String>,
    pub version_string: Option<String>,
    pub source_repository: Option<String>,
    pub source_stamp: Option<String>,
}

Details about the version of a Firefox build.

Fields

build_id: Option<String>

Unique date-based id for a build

code_name: Option<String>

Channel name

version_string: Option<String>

Version number e.g. 55.0a1

source_repository: Option<String>

Url of the respoistory from which the build was made

source_stamp: Option<String>

Commit ID of the build

Implementations

impl AppVersion[src]

pub fn new() -> AppVersion[src]

pub fn version(&self) -> Option<Version>[src]

Trait Implementations

impl Clone for AppVersion[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.