#[non_exhaustive]pub struct CreateInstanceProfileInput {
pub name: Option<String>,
pub description: Option<String>,
pub package_cleanup: Option<bool>,
pub exclude_app_packages_from_cleanup: Option<Vec<String>>,
pub reboot_after_use: Option<bool>,
}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.name: Option<String>The name of your instance profile.
description: Option<String>The description of your instance profile.
package_cleanup: Option<bool>When set to true, Device Farm removes app packages after a test run. The default value is false for private devices.
exclude_app_packages_from_cleanup: Option<Vec<String>>An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.
The list of packages is considered only if you set packageCleanup to true.
reboot_after_use: Option<bool>When set to true, Device Farm reboots the instance after a test run. The default value is true.
Implementations§
source§impl CreateInstanceProfileInput
impl CreateInstanceProfileInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of your instance profile.
sourcepub fn package_cleanup(&self) -> Option<bool>
pub fn package_cleanup(&self) -> Option<bool>
When set to true, Device Farm removes app packages after a test run. The default value is false for private devices.
sourcepub fn exclude_app_packages_from_cleanup(&self) -> &[String]
pub fn exclude_app_packages_from_cleanup(&self) -> &[String]
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.
The list of packages is considered only if you set packageCleanup to true.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .exclude_app_packages_from_cleanup.is_none().
sourcepub fn reboot_after_use(&self) -> Option<bool>
pub fn reboot_after_use(&self) -> Option<bool>
When set to true, Device Farm reboots the instance after a test run. The default value is true.
source§impl CreateInstanceProfileInput
impl CreateInstanceProfileInput
sourcepub fn builder() -> CreateInstanceProfileInputBuilder
pub fn builder() -> CreateInstanceProfileInputBuilder
Creates a new builder-style object to manufacture CreateInstanceProfileInput.
Trait Implementations§
source§impl Clone for CreateInstanceProfileInput
impl Clone for CreateInstanceProfileInput
source§fn clone(&self) -> CreateInstanceProfileInput
fn clone(&self) -> CreateInstanceProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateInstanceProfileInput
impl Debug for CreateInstanceProfileInput
source§impl PartialEq for CreateInstanceProfileInput
impl PartialEq for CreateInstanceProfileInput
source§fn eq(&self, other: &CreateInstanceProfileInput) -> bool
fn eq(&self, other: &CreateInstanceProfileInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateInstanceProfileInput
Auto Trait Implementations§
impl Freeze for CreateInstanceProfileInput
impl RefUnwindSafe for CreateInstanceProfileInput
impl Send for CreateInstanceProfileInput
impl Sync for CreateInstanceProfileInput
impl Unpin for CreateInstanceProfileInput
impl UnwindSafe for CreateInstanceProfileInput
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> 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