pub struct RegisteredSim {
pub device_name: String,
pub udid: String,
pub runtime: String,
pub device_type: String,
pub locale: Option<String>,
}Expand description
One registered simulator (a row of .smix/sims.json).
Fields§
§device_name: StringHuman-chosen device name (also usable as an alias).
udid: StringCoreSimulator UDID.
runtime: StringRuntime identifier.
device_type: StringDevice type identifier.
locale: Option<String>v6.10 c2 — desired BCP 47 locale tag (e.g. "en-US", "ja-JP").
When set, smix sim boot enforces it via
defaults write -g AppleLanguages + AppleLocale and reboots the
sim if the current locale differs. Closes insight gol-611 §3
(sim-managed sims default to zh-Hans → SpringBoard / app text
mismatches English yaml matchers). None (field absent) =
honor whatever locale the sim boots with, no enforcement.
Trait Implementations§
Source§impl Clone for RegisteredSim
impl Clone for RegisteredSim
Source§fn clone(&self) -> RegisteredSim
fn clone(&self) -> RegisteredSim
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 RegisteredSim
impl Debug for RegisteredSim
Source§impl<'de> Deserialize<'de> for RegisteredSim
impl<'de> Deserialize<'de> for RegisteredSim
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
Auto Trait Implementations§
impl Freeze for RegisteredSim
impl RefUnwindSafe for RegisteredSim
impl Send for RegisteredSim
impl Sync for RegisteredSim
impl Unpin for RegisteredSim
impl UnsafeUnpin for RegisteredSim
impl UnwindSafe for RegisteredSim
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