Struct aws_sdk_devicefarm::types::DeviceInstance
source · #[non_exhaustive]pub struct DeviceInstance {
pub arn: Option<String>,
pub device_arn: Option<String>,
pub labels: Option<Vec<String>>,
pub status: Option<InstanceStatus>,
pub udid: Option<String>,
pub instance_profile: Option<InstanceProfile>,
}
Expand description
Represents the device instance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The Amazon Resource Name (ARN) of the device instance.
device_arn: Option<String>
The ARN of the device.
labels: Option<Vec<String>>
An array of strings that describe the device instance.
status: Option<InstanceStatus>
The status of the device instance. Valid values are listed here.
udid: Option<String>
Unique device identifier for the device instance.
instance_profile: Option<InstanceProfile>
A object that contains information about the instance profile.
Implementations§
source§impl DeviceInstance
impl DeviceInstance
sourcepub fn device_arn(&self) -> Option<&str>
pub fn device_arn(&self) -> Option<&str>
The ARN of the device.
sourcepub fn labels(&self) -> Option<&[String]>
pub fn labels(&self) -> Option<&[String]>
An array of strings that describe the device instance.
sourcepub fn status(&self) -> Option<&InstanceStatus>
pub fn status(&self) -> Option<&InstanceStatus>
The status of the device instance. Valid values are listed here.
sourcepub fn instance_profile(&self) -> Option<&InstanceProfile>
pub fn instance_profile(&self) -> Option<&InstanceProfile>
A object that contains information about the instance profile.
source§impl DeviceInstance
impl DeviceInstance
sourcepub fn builder() -> DeviceInstanceBuilder
pub fn builder() -> DeviceInstanceBuilder
Creates a new builder-style object to manufacture DeviceInstance
.
Trait Implementations§
source§impl Clone for DeviceInstance
impl Clone for DeviceInstance
source§fn clone(&self) -> DeviceInstance
fn clone(&self) -> DeviceInstance
Returns a copy 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 DeviceInstance
impl Debug for DeviceInstance
source§impl PartialEq<DeviceInstance> for DeviceInstance
impl PartialEq<DeviceInstance> for DeviceInstance
source§fn eq(&self, other: &DeviceInstance) -> bool
fn eq(&self, other: &DeviceInstance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeviceInstance
Auto Trait Implementations§
impl RefUnwindSafe for DeviceInstance
impl Send for DeviceInstance
impl Sync for DeviceInstance
impl Unpin for DeviceInstance
impl UnwindSafe for DeviceInstance
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