Struct rusoto_devicefarm::Rule
[−]
[src]
pub struct Rule { pub attribute: Option<String>, pub operator: Option<String>, pub value: Option<String>, }
Represents a condition for a device pool.
Fields
attribute: Option<String>
The rule's stringified attribute. For example, specify the value as ""abc""
.
Allowed values include:
-
ARN: The ARN.
-
FORMFACTOR: The form factor (for example, phone or tablet).
-
MANUFACTURER: The manufacturer.
-
PLATFORM: The platform (for example, Android or iOS).
-
REMOTEACCESSENABLED: Whether the device is enabled for remote access.
-
APPIUMVERSION: The Appium version for the test.
operator: Option<String>
The rule's operator.
-
EQUALS: The equals operator.
-
GREATERTHAN: The greater-than operator.
-
IN: The in operator.
-
LESSTHAN: The less-than operator.
-
NOT_IN: The not-in operator.
-
CONTAINS: The contains operator.
value: Option<String>
The rule's value.
Trait Implementations
impl Default for Rule
[src]
impl Debug for Rule
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more