[−][src]Struct creator_simctl::list::DeviceInfo
Information about a device.
Fields
runtime_identifier: String
Note: this field is not directly present in JSON. Instead, the JSON representation is a hashmap of runtime IDs (keys) and devices (values) that we later connect during deserialization.
availability_error: Option<String>
If this device is not available (see DeviceInfo::is_available
), this
will contain a (slightly) more detailed explanation for its
unavailability.
data_path: PathBuf
Contains the path where application data is stored.
log_path: PathBuf
Contains the path where logs are written to.
udid: String
Contains a unique identifier for this device.
is_available: bool
Indicates if this device is available. Also see
Runtime::is_available
.
device_type_identifier: String
This corresponds to DeviceType::identifier
. This is missing for
devices whose device type has since been removed from Xcode.
state: DeviceState
Contains the state of this device.
name: String
Contains the name of this device.
Trait Implementations
impl Clone for DeviceInfo
[src]
pub fn clone(&self) -> DeviceInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DeviceInfo
[src]
impl<'de> Deserialize<'de> for DeviceInfo
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for DeviceInfo
[src]
impl PartialEq<DeviceInfo> for DeviceInfo
[src]
pub fn eq(&self, other: &DeviceInfo) -> bool
[src]
pub fn ne(&self, other: &DeviceInfo) -> bool
[src]
impl StructuralEq for DeviceInfo
[src]
impl StructuralPartialEq for DeviceInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for DeviceInfo
[src]
impl Send for DeviceInfo
[src]
impl Sync for DeviceInfo
[src]
impl Unpin for DeviceInfo
[src]
impl UnwindSafe for DeviceInfo
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,