pub struct AndroidVersion {
pub api_level: Option<i32>,
pub code_name: Option<String>,
pub distribution: Option<Distribution>,
pub id: Option<String>,
pub release_date: Option<Date>,
pub tags: Option<Vec<String>>,
pub version_string: Option<String>,
}
Expand description
A version of the Android OS.
This type is not used in any activity, and only used as part of another schema.
Fields§
§api_level: Option<i32>
The API level for this Android version. Examples: 18, 19.
code_name: Option<String>
The code name for this Android version. Examples: “JellyBean”, “KitKat”.
distribution: Option<Distribution>
Market share for this version.
id: Option<String>
An opaque id for this Android version. Use this id to invoke the TestExecutionService.
release_date: Option<Date>
The date this Android version became available in the market.
Tags for this dimension. Examples: “default”, “preview”, “deprecated”.
version_string: Option<String>
A string representing this version of the Android OS. Examples: “4.3”, “4.4”.
Trait Implementations§
Source§impl Clone for AndroidVersion
impl Clone for AndroidVersion
Source§fn clone(&self) -> AndroidVersion
fn clone(&self) -> AndroidVersion
Returns a copy of the value. Read more
1.0.0 · 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 AndroidVersion
impl Debug for AndroidVersion
Source§impl Default for AndroidVersion
impl Default for AndroidVersion
Source§fn default() -> AndroidVersion
fn default() -> AndroidVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AndroidVersion
impl<'de> Deserialize<'de> for AndroidVersion
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
Source§impl Serialize for AndroidVersion
impl Serialize for AndroidVersion
impl Part for AndroidVersion
Auto Trait Implementations§
impl Freeze for AndroidVersion
impl RefUnwindSafe for AndroidVersion
impl Send for AndroidVersion
impl Sync for AndroidVersion
impl Unpin for AndroidVersion
impl UnwindSafe for AndroidVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more