Struct aws_sdk_devicefarm::model::DevicePool
source · [−]#[non_exhaustive]pub struct DevicePool {
pub arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub type: Option<DevicePoolType>,
pub rules: Option<Vec<Rule>>,
pub max_devices: Option<i32>,
}Expand description
Represents a collection of device types.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.arn: Option<String>The device pool's ARN.
name: Option<String>The device pool's name.
description: Option<String>The device pool's description.
type: Option<DevicePoolType>The device pool's type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
rules: Option<Vec<Rule>>Information about the device pool's rules.
max_devices: Option<i32>The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the rules parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.
By specifying the maximum number of devices, you can control the costs that you incur by running tests.
Implementations
sourceimpl DevicePool
impl DevicePool
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The device pool's description.
sourcepub fn type(&self) -> Option<&DevicePoolType>
pub fn type(&self) -> Option<&DevicePoolType>
The device pool's type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
sourcepub fn max_devices(&self) -> Option<i32>
pub fn max_devices(&self) -> Option<i32>
The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and meet the criteria that you assign for the rules parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.
By specifying the maximum number of devices, you can control the costs that you incur by running tests.
sourceimpl DevicePool
impl DevicePool
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DevicePool
Trait Implementations
sourceimpl Clone for DevicePool
impl Clone for DevicePool
sourcefn clone(&self) -> DevicePool
fn clone(&self) -> DevicePool
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DevicePool
impl Debug for DevicePool
sourceimpl PartialEq<DevicePool> for DevicePool
impl PartialEq<DevicePool> for DevicePool
sourcefn eq(&self, other: &DevicePool) -> bool
fn eq(&self, other: &DevicePool) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DevicePool) -> bool
fn ne(&self, other: &DevicePool) -> bool
This method tests for !=.
impl StructuralPartialEq for DevicePool
Auto Trait Implementations
impl RefUnwindSafe for DevicePool
impl Send for DevicePool
impl Sync for DevicePool
impl Unpin for DevicePool
impl UnwindSafe for DevicePool
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more