[][src]Struct rusoto_devicefarm::Rule

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 Clone for Rule
[src]

Performs copy-assignment from source. Read more

impl Default for Rule
[src]

impl PartialEq<Rule> for Rule
[src]

impl Debug for Rule
[src]

impl Serialize for Rule
[src]

impl<'de> Deserialize<'de> for Rule
[src]

Auto Trait Implementations

impl Send for Rule

impl Sync for Rule

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same for T

Should always be Self

impl<T> Erased for T