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.
-
FORM_FACTOR: The form factor (for example, phone or tablet).
-
MANUFACTURER: The manufacturer.
-
PLATFORM: The platform (for example, Android or iOS).
-
REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access.
-
APPIUM_VERSION: The Appium version for the test.
operator: Option<String>
The rule's operator.
-
EQUALS: The equals operator.
-
GREATER_THAN: The greater-than operator.
-
IN: The in operator.
-
LESS_THAN: 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]
impl Clone for Rule
[src]
fn clone(&self) -> Rule
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more