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

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.

The rule's value.

Trait Implementations

impl Default for Rule
[src]

Returns the "default value" for a type. Read more

impl Debug for Rule
[src]

Formats the value using the given formatter. Read more

impl Clone for Rule
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Rule
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Rule

impl Sync for Rule