Remove unneeded lockdown structure

This commit is contained in:
Jackson Coxson
2025-10-17 15:50:51 -06:00
parent 7853f2d6d0
commit 87ad894875

View File

@@ -5,7 +5,6 @@
use log::error; use log::error;
use plist::Value; use plist::Value;
use serde::{Deserialize, Serialize};
use crate::{Idevice, IdeviceError, IdeviceService, obf, pairing_file}; use crate::{Idevice, IdeviceError, IdeviceService, obf, pairing_file};
@@ -48,15 +47,6 @@ impl IdeviceService for LockdownClient {
} }
} }
/// Internal structure for lockdown protocol requests
#[derive(Serialize, Deserialize)]
#[serde(rename_all = "PascalCase")]
struct LockdownRequest {
label: String,
key: Option<String>,
request: String,
}
impl LockdownClient { impl LockdownClient {
/// The default TCP port for the lockdown service /// The default TCP port for the lockdown service
pub const LOCKDOWND_PORT: u16 = 62078; pub const LOCKDOWND_PORT: u16 = 62078;