pub struct AndroidMatrix {
pub android_model_ids: Option<Vec<String>>,
pub android_version_ids: Option<Vec<String>>,
pub locales: Option<Vec<String>>,
pub orientations: Option<Vec<String>>,
}
Expand description
A set of Android device configuration permutations is defined by the the cross-product of the given axes. Internally, the given AndroidMatrix will be expanded into a set of AndroidDevices. Only supported permutations will be instantiated. Invalid permutations (e.g., incompatible models/versions) are ignored.
This type is not used in any activity, and only used as part of another schema.
Fields§
§android_model_ids: Option<Vec<String>>
Required. The ids of the set of Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options.
android_version_ids: Option<Vec<String>>
Required. The ids of the set of Android OS version to be used. Use the TestEnvironmentDiscoveryService to get supported options.
locales: Option<Vec<String>>
Required. The set of locales the test device will enable for testing. Use the TestEnvironmentDiscoveryService to get supported options.
orientations: Option<Vec<String>>
Required. The set of orientations to test with. Use the TestEnvironmentDiscoveryService to get supported options.
Trait Implementations§
Source§impl Clone for AndroidMatrix
impl Clone for AndroidMatrix
Source§fn clone(&self) -> AndroidMatrix
fn clone(&self) -> AndroidMatrix
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AndroidMatrix
impl Debug for AndroidMatrix
Source§impl Default for AndroidMatrix
impl Default for AndroidMatrix
Source§fn default() -> AndroidMatrix
fn default() -> AndroidMatrix
Source§impl<'de> Deserialize<'de> for AndroidMatrix
impl<'de> Deserialize<'de> for AndroidMatrix
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>,
Source§impl Serialize for AndroidMatrix
impl Serialize for AndroidMatrix
impl Part for AndroidMatrix
Auto Trait Implementations§
impl Freeze for AndroidMatrix
impl RefUnwindSafe for AndroidMatrix
impl Send for AndroidMatrix
impl Sync for AndroidMatrix
impl Unpin for AndroidMatrix
impl UnwindSafe for AndroidMatrix
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