Struct aws_sdk_devicefarm::model::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
sourceimpl 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.
sourceimpl AccountSettings
impl AccountSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AccountSettings
Trait Implementations
sourceimpl Clone for AccountSettings
impl Clone for AccountSettings
sourcefn clone(&self) -> AccountSettings
fn clone(&self) -> AccountSettings
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 AccountSettings
impl Debug for AccountSettings
sourceimpl PartialEq<AccountSettings> for AccountSettings
impl PartialEq<AccountSettings> for AccountSettings
sourcefn eq(&self, other: &AccountSettings) -> bool
fn eq(&self, other: &AccountSettings) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AccountSettings) -> bool
fn ne(&self, other: &AccountSettings) -> bool
This method tests for !=.
impl StructuralPartialEq for AccountSettings
Auto Trait Implementations
impl RefUnwindSafe for AccountSettings
impl Send for AccountSettings
impl Sync for AccountSettings
impl Unpin for AccountSettings
impl UnwindSafe for AccountSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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