Struct aws_sdk_devicefarm::model::Device
source · [−]#[non_exhaustive]pub struct Device { /* private fields */ }Expand description
Represents a device type that an app is tested against.
Implementations
sourceimpl Device
impl Device
sourcepub fn manufacturer(&self) -> Option<&str>
pub fn manufacturer(&self) -> Option<&str>
The device's manufacturer name.
sourcepub fn form_factor(&self) -> Option<&DeviceFormFactor>
pub fn form_factor(&self) -> Option<&DeviceFormFactor>
The device's form factor.
Allowed values include:
-
PHONE
-
TABLET
sourcepub fn platform(&self) -> Option<&DevicePlatform>
pub fn platform(&self) -> Option<&DevicePlatform>
The device's platform.
Allowed values include:
-
ANDROID
-
IOS
sourcepub fn resolution(&self) -> Option<&Resolution>
pub fn resolution(&self) -> Option<&Resolution>
The resolution of the device.
sourcepub fn remote_access_enabled(&self) -> Option<bool>
pub fn remote_access_enabled(&self) -> Option<bool>
Specifies whether remote access has been enabled for the specified device.
sourcepub fn remote_debug_enabled(&self) -> Option<bool>
pub fn remote_debug_enabled(&self) -> Option<bool>
This flag is set to true if remote debugging is enabled for the device.
Remote debugging is no longer supported.
sourcepub fn fleet_type(&self) -> Option<&str>
pub fn fleet_type(&self) -> Option<&str>
The type of fleet to which this device belongs. Possible values are PRIVATE and PUBLIC.
sourcepub fn fleet_name(&self) -> Option<&str>
pub fn fleet_name(&self) -> Option<&str>
The name of the fleet to which this device belongs.
sourcepub fn instances(&self) -> Option<&[DeviceInstance]>
pub fn instances(&self) -> Option<&[DeviceInstance]>
The instances that belong to this device.
sourcepub fn availability(&self) -> Option<&DeviceAvailability>
pub fn availability(&self) -> Option<&DeviceAvailability>
Indicates how likely a device is available for a test run. Currently available in the ListDevices and GetDevice API methods.
Trait Implementations
impl StructuralPartialEq for Device
Auto Trait Implementations
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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