[−][src]Struct google_testing1::AndroidModel
A description of an Android device tests may be run on.
This type is not used in any activity, and only used as part of another schema.
Fields
form_factor: Option<String>
Whether this device is a phone, tablet, wearable, etc.
name: Option<String>
The human-readable marketing name for this device model. Examples: "Nexus 5", "Galaxy S5".
form: Option<String>
Whether this device is virtual or physical.
Tags for this dimension. Examples: "default", "preview", "deprecated".
low_fps_video_recording: Option<bool>
True if and only if tests with this model are recorded by stitching together screenshots. See use_low_spec_video_recording in device config.
brand: Option<String>
The company that this device is branded with. Example: "Google", "Samsung".
id: Option<String>
The unique opaque id for this model. Use this for invoking the TestExecutionService.
supported_version_ids: Option<Vec<String>>
The set of Android versions this device supports.
screen_density: Option<i32>
Screen density in DPI. This corresponds to ro.sf.lcd_density
supported_abis: Option<Vec<String>>
The list of supported ABIs for this device. This corresponds to either android.os.Build.SUPPORTED_ABIS (for API level 21 and above) or android.os.Build.CPU_ABI/CPU_ABI2. The most preferred ABI is the first element in the list.
Elements are optionally prefixed by "version_id:" (where version_id is the id of an AndroidVersion), denoting an ABI that is supported only on a particular version.
screen_x: Option<i32>
Screen size in the horizontal (X) dimension measured in pixels.
screen_y: Option<i32>
Screen size in the vertical (Y) dimension measured in pixels.
manufacturer: Option<String>
The manufacturer of this device.
codename: Option<String>
The name of the industrial design. This corresponds to android.os.Build.DEVICE.
Trait Implementations
impl Part for AndroidModel
[src]
impl Default for AndroidModel
[src]
fn default() -> AndroidModel
[src]
impl Clone for AndroidModel
[src]
fn clone(&self) -> AndroidModel
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AndroidModel
[src]
impl Serialize for AndroidModel
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for AndroidModel
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for AndroidModel
impl Unpin for AndroidModel
impl Sync for AndroidModel
impl UnwindSafe for AndroidModel
impl RefUnwindSafe for AndroidModel
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,