| 23 | |
| 24 | #[derive(Debug, Clone, Serialize, Deserialize)] |
| 25 | pub struct Simulator { |
| 26 | pub udid: String, |
| 27 | pub name: String, |
| 28 | pub state: String, |
| 29 | #[serde(rename = "isBooted")] |
| 30 | #[serde(deserialize_with = "deserialize_boolish")] |
| 31 | pub is_booted: bool, |
| 32 | #[serde(rename = "isAvailable")] |
| 33 | #[serde(deserialize_with = "deserialize_boolish")] |
| 34 | pub is_available: bool, |
| 35 | #[serde(rename = "lastBootedAt")] |
| 36 | pub last_booted_at: serde_json::Value, |
| 37 | #[serde(rename = "dataPath")] |
| 38 | pub data_path: serde_json::Value, |
| 39 | #[serde(rename = "logPath")] |
| 40 | pub log_path: serde_json::Value, |
| 41 | #[serde(rename = "deviceTypeIdentifier")] |
| 42 | pub device_type_identifier: serde_json::Value, |
| 43 | #[serde(rename = "deviceTypeName")] |
| 44 | pub device_type_name: String, |
| 45 | #[serde(rename = "runtimeIdentifier")] |
| 46 | pub runtime_identifier: serde_json::Value, |
| 47 | #[serde(rename = "runtimeName")] |
| 48 | pub runtime_name: String, |
| 49 | #[serde( |
| 50 | rename = "pairedWatchUDID", |
| 51 | default, |
| 52 | skip_serializing_if = "Option::is_none" |
| 53 | )] |
| 54 | pub paired_watch_udid: Option<String>, |
| 55 | #[serde( |
| 56 | rename = "pairedWatchName", |
| 57 | default, |
| 58 | skip_serializing_if = "Option::is_none" |
| 59 | )] |
| 60 | pub paired_watch_name: Option<String>, |
| 61 | #[serde( |
| 62 | rename = "pairedPhoneUDID", |
| 63 | default, |
| 64 | skip_serializing_if = "Option::is_none" |
| 65 | )] |
| 66 | pub paired_phone_udid: Option<String>, |
| 67 | #[serde( |
| 68 | rename = "pairedPhoneName", |
| 69 | default, |
| 70 | skip_serializing_if = "Option::is_none" |
| 71 | )] |
| 72 | pub paired_phone_name: Option<String>, |
| 73 | #[serde( |
| 74 | rename = "devicePairIdentifier", |
| 75 | default, |
| 76 | skip_serializing_if = "Option::is_none" |
| 77 | )] |
| 78 | pub device_pair_identifier: Option<String>, |
| 79 | #[serde( |
| 80 | rename = "devicePairState", |
| 81 | default, |
| 82 | skip_serializing_if = "Option::is_none" |
no outgoing calls
no test coverage detected