pub struct SimctlDevice {
pub udid: String,
pub name: String,
pub state: String,
pub is_available: bool,
pub device_type_identifier: String,
pub runtime_identifier: String,
}Expand description
One simulator device known to xcrun simctl.
Fields§
§udid: StringDevice UDID (stable identifier).
name: StringHuman-readable name.
state: StringCurrent state ("Booted" / "Shutdown" / "Creating" / etc.).
is_available: boolWhether the device is available for booting.
device_type_identifier: StringDevice-type identifier (e.g. "com.apple.CoreSimulator.SimDeviceType.iPhone-15").
runtime_identifier: StringRuntime identifier this device was created against.
Trait Implementations§
Source§impl Clone for SimctlDevice
impl Clone for SimctlDevice
Source§fn clone(&self) -> SimctlDevice
fn clone(&self) -> SimctlDevice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SimctlDevice
impl Debug for SimctlDevice
Source§impl<'de> Deserialize<'de> for SimctlDevice
impl<'de> Deserialize<'de> for SimctlDevice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SimctlDevice
Source§impl PartialEq for SimctlDevice
impl PartialEq for SimctlDevice
Source§fn eq(&self, other: &SimctlDevice) -> bool
fn eq(&self, other: &SimctlDevice) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SimctlDevice
impl Serialize for SimctlDevice
impl StructuralPartialEq for SimctlDevice
Auto Trait Implementations§
impl Freeze for SimctlDevice
impl RefUnwindSafe for SimctlDevice
impl Send for SimctlDevice
impl Sync for SimctlDevice
impl Unpin for SimctlDevice
impl UnsafeUnpin for SimctlDevice
impl UnwindSafe for SimctlDevice
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