Struct rusoto_devicefarm::Rule [] [src]

pub struct Rule {
    pub attribute: Option<DeviceAttribute>,
    pub operator: Option<RuleOperator>,
    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.

  • 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.

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.

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.

impl Clone for Rule
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more