Struct mozversion::AppVersion
source · [−]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>,
}
Expand description
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
sourceimpl AppVersion
impl AppVersion
Trait Implementations
sourceimpl Clone for AppVersion
impl Clone for AppVersion
sourcefn clone(&self) -> AppVersion
fn clone(&self) -> AppVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for AppVersion
impl Default for AppVersion
sourcefn default() -> AppVersion
fn default() -> AppVersion
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for AppVersion
impl Send for AppVersion
impl Sync for AppVersion
impl Unpin for AppVersion
impl UnwindSafe for AppVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more