pub struct IosModel {
pub device_capabilities: Option<Vec<String>>,
pub form_factor: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub per_version_info: Option<Vec<PerIosVersionInfo>>,
pub screen_density: Option<i32>,
pub screen_x: Option<i32>,
pub screen_y: Option<i32>,
pub supported_version_ids: Option<Vec<String>>,
pub tags: Option<Vec<String>>,
}
Expand description
A description of an iOS device tests may be run on.
This type is not used in any activity, and only used as part of another schema.
Fields§
§device_capabilities: Option<Vec<String>>
Device capabilities. Copied from https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html
form_factor: Option<String>
Whether this device is a phone, tablet, wearable, etc.
id: Option<String>
The unique opaque id for this model. Use this for invoking the TestExecutionService.
name: Option<String>
The human-readable name for this device model. Examples: “iPhone 4s”, “iPad Mini 2”.
per_version_info: Option<Vec<PerIosVersionInfo>>
Version-specific information of an iOS model.
screen_density: Option<i32>
Screen density in DPI.
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.
supported_version_ids: Option<Vec<String>>
The set of iOS major software versions this device supports.
Tags for this dimension. Examples: “default”, “preview”, “deprecated”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IosModel
impl<'de> Deserialize<'de> for IosModel
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>,
impl Part for IosModel
Auto Trait Implementations§
impl Freeze for IosModel
impl RefUnwindSafe for IosModel
impl Send for IosModel
impl Sync for IosModel
impl Unpin for IosModel
impl UnwindSafe for IosModel
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
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>
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>
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