pub struct PersistedCredentials {
pub remote_identifier: Option<String>,
pub host_identifier: String,
pub host_public_key_hex: String,
pub host_private_key_hex: Option<String>,
pub remote_unlock_host_key: Option<String>,
pub device_address: String,
pub rsd_port: u16,
}Fields§
§remote_identifier: Option<String>§host_identifier: String§host_public_key_hex: StringEd25519 public key (hex-encoded)
host_private_key_hex: Option<String>Ed25519 private key seed (hex-encoded) used for future verifyManualPairing.
remote_unlock_host_key: Option<String>Base64-encoded remote unlock host key returned by createRemoteUnlockKey.
device_address: StringIPv6 address of the paired device
rsd_port: u16RSD port at time of pairing
Implementations§
Source§impl PersistedCredentials
impl PersistedCredentials
Sourcepub fn default_dir() -> PathBuf
pub fn default_dir() -> PathBuf
Default directory for storing pair credentials.
Sourcepub fn pymobiledevice3_dir() -> PathBuf
pub fn pymobiledevice3_dir() -> PathBuf
Compatibility directory used by pymobiledevice3 remote pairing records.
Trait Implementations§
Source§impl Clone for PersistedCredentials
impl Clone for PersistedCredentials
Source§fn clone(&self) -> PersistedCredentials
fn clone(&self) -> PersistedCredentials
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 PersistedCredentials
impl Debug for PersistedCredentials
Source§impl<'de> Deserialize<'de> for PersistedCredentials
impl<'de> Deserialize<'de> for PersistedCredentials
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 PersistedCredentials
impl RefUnwindSafe for PersistedCredentials
impl Send for PersistedCredentials
impl Sync for PersistedCredentials
impl Unpin for PersistedCredentials
impl UnsafeUnpin for PersistedCredentials
impl UnwindSafe for PersistedCredentials
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