#[non_exhaustive]pub struct ScheduleRunInput {
pub project_arn: Option<String>,
pub app_arn: Option<String>,
pub device_pool_arn: Option<String>,
pub device_selection_configuration: Option<DeviceSelectionConfiguration>,
pub name: Option<String>,
pub test: Option<ScheduleRunTest>,
pub configuration: Option<ScheduleRunConfiguration>,
pub execution_configuration: Option<ExecutionConfiguration>,
}Expand description
Represents a request to the schedule run operation.
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.project_arn: Option<String>The ARN of the project for the run to be scheduled.
app_arn: Option<String>The ARN of an application package to run tests against, created with CreateUpload. See ListUploads.
device_pool_arn: Option<String>The ARN of the device pool for the run to be scheduled.
device_selection_configuration: Option<DeviceSelectionConfiguration>The filter criteria used to dynamically select a set of devices for a test run and the maximum number of devices to be included in the run.
Either devicePoolArn or deviceSelectionConfiguration is required in a request.
name: Option<String>The name for the run to be scheduled.
test: Option<ScheduleRunTest>Information about the test for the run to be scheduled.
configuration: Option<ScheduleRunConfiguration>Information about the settings for the run to be scheduled.
execution_configuration: Option<ExecutionConfiguration>Specifies configuration information about a test run, such as the execution timeout (in minutes).
Implementations§
source§impl ScheduleRunInput
impl ScheduleRunInput
sourcepub fn project_arn(&self) -> Option<&str>
pub fn project_arn(&self) -> Option<&str>
The ARN of the project for the run to be scheduled.
sourcepub fn app_arn(&self) -> Option<&str>
pub fn app_arn(&self) -> Option<&str>
The ARN of an application package to run tests against, created with CreateUpload. See ListUploads.
sourcepub fn device_pool_arn(&self) -> Option<&str>
pub fn device_pool_arn(&self) -> Option<&str>
The ARN of the device pool for the run to be scheduled.
sourcepub fn device_selection_configuration(
&self,
) -> Option<&DeviceSelectionConfiguration>
pub fn device_selection_configuration( &self, ) -> Option<&DeviceSelectionConfiguration>
The filter criteria used to dynamically select a set of devices for a test run and the maximum number of devices to be included in the run.
Either devicePoolArn or deviceSelectionConfiguration is required in a request.
sourcepub fn test(&self) -> Option<&ScheduleRunTest>
pub fn test(&self) -> Option<&ScheduleRunTest>
Information about the test for the run to be scheduled.
sourcepub fn configuration(&self) -> Option<&ScheduleRunConfiguration>
pub fn configuration(&self) -> Option<&ScheduleRunConfiguration>
Information about the settings for the run to be scheduled.
sourcepub fn execution_configuration(&self) -> Option<&ExecutionConfiguration>
pub fn execution_configuration(&self) -> Option<&ExecutionConfiguration>
Specifies configuration information about a test run, such as the execution timeout (in minutes).
source§impl ScheduleRunInput
impl ScheduleRunInput
sourcepub fn builder() -> ScheduleRunInputBuilder
pub fn builder() -> ScheduleRunInputBuilder
Creates a new builder-style object to manufacture ScheduleRunInput.
Trait Implementations§
source§impl Clone for ScheduleRunInput
impl Clone for ScheduleRunInput
source§fn clone(&self) -> ScheduleRunInput
fn clone(&self) -> ScheduleRunInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ScheduleRunInput
impl Debug for ScheduleRunInput
source§impl PartialEq for ScheduleRunInput
impl PartialEq for ScheduleRunInput
impl StructuralPartialEq for ScheduleRunInput
Auto Trait Implementations§
impl Freeze for ScheduleRunInput
impl RefUnwindSafe for ScheduleRunInput
impl Send for ScheduleRunInput
impl Sync for ScheduleRunInput
impl Unpin for ScheduleRunInput
impl UnwindSafe for ScheduleRunInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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