pub struct CreateDevicePoolRequest {
pub description: Option<String>,
pub max_devices: Option<i64>,
pub name: String,
pub project_arn: String,
pub rules: Vec<Rule>,
}Expand description
Represents a request to the create device pool operation.
Fields§
§description: Option<String>The device pool's description.
max_devices: Option<i64>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.
name: StringThe device pool's name.
project_arn: StringThe ARN of the project for the device pool.
rules: Vec<Rule>The device pool's rules.
Trait Implementations§
Source§impl Clone for CreateDevicePoolRequest
impl Clone for CreateDevicePoolRequest
Source§fn clone(&self) -> CreateDevicePoolRequest
fn clone(&self) -> CreateDevicePoolRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateDevicePoolRequest
impl Debug for CreateDevicePoolRequest
Source§impl Default for CreateDevicePoolRequest
impl Default for CreateDevicePoolRequest
Source§fn default() -> CreateDevicePoolRequest
fn default() -> CreateDevicePoolRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateDevicePoolRequest
impl PartialEq for CreateDevicePoolRequest
Source§impl Serialize for CreateDevicePoolRequest
impl Serialize for CreateDevicePoolRequest
impl StructuralPartialEq for CreateDevicePoolRequest
Auto Trait Implementations§
impl Freeze for CreateDevicePoolRequest
impl RefUnwindSafe for CreateDevicePoolRequest
impl Send for CreateDevicePoolRequest
impl Sync for CreateDevicePoolRequest
impl Unpin for CreateDevicePoolRequest
impl UnwindSafe for CreateDevicePoolRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more