Represents a condition for a device pool.
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.
-
INSTANCEARN: The Amazon Resource Name (ARN) of the device instance.
-
INSTANCELABELS: The label of the device instance.
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.
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more
Deserialize this value from the given Serde deserializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static