Struct aws_sdk_devicefarm::types::AccountSettings
source · #[non_exhaustive]pub struct AccountSettings {
pub aws_account_number: Option<String>,
pub unmetered_devices: Option<HashMap<DevicePlatform, i32>>,
pub unmetered_remote_access_devices: Option<HashMap<DevicePlatform, i32>>,
pub max_job_timeout_minutes: Option<i32>,
pub trial_minutes: Option<TrialMinutes>,
pub max_slots: Option<HashMap<String, i32>>,
pub default_job_timeout_minutes: Option<i32>,
pub skip_app_resign: Option<bool>,
}Expand description
A container for account-level settings in AWS Device Farm.
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.aws_account_number: Option<String>The AWS account number specified in the AccountSettings container.
unmetered_devices: Option<HashMap<DevicePlatform, i32>>Returns the unmetered devices you have purchased or want to purchase.
unmetered_remote_access_devices: Option<HashMap<DevicePlatform, i32>>Returns the unmetered remote access devices you have purchased or want to purchase.
max_job_timeout_minutes: Option<i32>The maximum number of minutes a test run executes before it times out.
trial_minutes: Option<TrialMinutes>Information about an AWS account's usage of free trial device minutes.
max_slots: Option<HashMap<String, i32>>The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an offering-id:number pair, where the offering-id represents one of the IDs returned by the ListOfferings command.
default_job_timeout_minutes: Option<i32>The default number of minutes (at the account level) a test run executes before it times out. The default value is 150 minutes.
skip_app_resign: Option<bool>When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
Implementations§
source§impl AccountSettings
impl AccountSettings
sourcepub fn aws_account_number(&self) -> Option<&str>
pub fn aws_account_number(&self) -> Option<&str>
The AWS account number specified in the AccountSettings container.
sourcepub fn unmetered_devices(&self) -> Option<&HashMap<DevicePlatform, i32>>
pub fn unmetered_devices(&self) -> Option<&HashMap<DevicePlatform, i32>>
Returns the unmetered devices you have purchased or want to purchase.
sourcepub fn unmetered_remote_access_devices(
&self,
) -> Option<&HashMap<DevicePlatform, i32>>
pub fn unmetered_remote_access_devices( &self, ) -> Option<&HashMap<DevicePlatform, i32>>
Returns the unmetered remote access devices you have purchased or want to purchase.
sourcepub fn max_job_timeout_minutes(&self) -> Option<i32>
pub fn max_job_timeout_minutes(&self) -> Option<i32>
The maximum number of minutes a test run executes before it times out.
sourcepub fn trial_minutes(&self) -> Option<&TrialMinutes>
pub fn trial_minutes(&self) -> Option<&TrialMinutes>
Information about an AWS account's usage of free trial device minutes.
sourcepub fn max_slots(&self) -> Option<&HashMap<String, i32>>
pub fn max_slots(&self) -> Option<&HashMap<String, i32>>
The maximum number of device slots that the AWS account can purchase. Each maximum is expressed as an offering-id:number pair, where the offering-id represents one of the IDs returned by the ListOfferings command.
sourcepub fn default_job_timeout_minutes(&self) -> Option<i32>
pub fn default_job_timeout_minutes(&self) -> Option<i32>
The default number of minutes (at the account level) a test run executes before it times out. The default value is 150 minutes.
sourcepub fn skip_app_resign(&self) -> Option<bool>
pub fn skip_app_resign(&self) -> Option<bool>
When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
source§impl AccountSettings
impl AccountSettings
sourcepub fn builder() -> AccountSettingsBuilder
pub fn builder() -> AccountSettingsBuilder
Creates a new builder-style object to manufacture AccountSettings.
Trait Implementations§
source§impl Clone for AccountSettings
impl Clone for AccountSettings
source§fn clone(&self) -> AccountSettings
fn clone(&self) -> AccountSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AccountSettings
impl Debug for AccountSettings
source§impl PartialEq for AccountSettings
impl PartialEq for AccountSettings
source§fn eq(&self, other: &AccountSettings) -> bool
fn eq(&self, other: &AccountSettings) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AccountSettings
Auto Trait Implementations§
impl Freeze for AccountSettings
impl RefUnwindSafe for AccountSettings
impl Send for AccountSettings
impl Sync for AccountSettings
impl Unpin for AccountSettings
impl UnwindSafe for AccountSettings
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more