pub struct SimctlRuntime {
pub identifier: String,
pub name: String,
pub version: String,
pub is_available: bool,
}Expand description
One iOS / watchOS / tvOS runtime installed on the host.
Fields§
§identifier: StringFully-qualified runtime identifier (e.g. "com.apple.CoreSimulator.SimRuntime.iOS-17-0").
name: StringHuman-readable name (e.g. "iOS 17.0").
version: StringVersion string (e.g. "17.0").
is_available: boolWhether the runtime is available for booting devices.
Trait Implementations§
Source§impl Clone for SimctlRuntime
impl Clone for SimctlRuntime
Source§fn clone(&self) -> SimctlRuntime
fn clone(&self) -> SimctlRuntime
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 SimctlRuntime
impl Debug for SimctlRuntime
Source§impl<'de> Deserialize<'de> for SimctlRuntime
impl<'de> Deserialize<'de> for SimctlRuntime
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 SimctlRuntime
Source§impl PartialEq for SimctlRuntime
impl PartialEq for SimctlRuntime
Source§fn eq(&self, other: &SimctlRuntime) -> bool
fn eq(&self, other: &SimctlRuntime) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SimctlRuntime
impl Serialize for SimctlRuntime
impl StructuralPartialEq for SimctlRuntime
Auto Trait Implementations§
impl Freeze for SimctlRuntime
impl RefUnwindSafe for SimctlRuntime
impl Send for SimctlRuntime
impl Sync for SimctlRuntime
impl Unpin for SimctlRuntime
impl UnsafeUnpin for SimctlRuntime
impl UnwindSafe for SimctlRuntime
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