pub struct RecoveryKeyMaterialResponseBody {
pub file_id: String,
pub icloud_record_name: String,
pub recovery_code: String,
pub recovery_key: String,
pub recovery_key_derivation_salt: String,
pub recovery_type: RecoveryKeyMaterialResponseBodyRecoveryType,
}Expand description
The response body for getting the recovery key material.
JSON schema
{
"title": "RecoveryKeyMaterialResponseBody",
"description": "The response body for getting the recovery key
material.",
"type": "object",
"required": [
"file_id",
"icloud_record_name",
"recovery_code",
"recovery_key",
"recovery_key_derivation_salt",
"recovery_type"
],
"properties": {
"file_id": {
"type": "string"
},
"icloud_record_name": {
"type": "string"
},
"recovery_code": {
"type": "string"
},
"recovery_key": {
"type": "string"
},
"recovery_key_derivation_salt": {
"type": "string"
},
"recovery_type": {
"type": "string",
"enum": [
"google_drive_recovery_secret",
"icloud_recovery_secret",
"privy_generated_recovery_key",
"privy_passcode_derived_recovery_key",
"user_passcode_derived_recovery_key"
]
}
}
}Fields§
§file_id: String§icloud_record_name: String§recovery_code: String§recovery_key: String§recovery_key_derivation_salt: String§recovery_type: RecoveryKeyMaterialResponseBodyRecoveryTypeTrait Implementations§
Source§impl Clone for RecoveryKeyMaterialResponseBody
impl Clone for RecoveryKeyMaterialResponseBody
Source§fn clone(&self) -> RecoveryKeyMaterialResponseBody
fn clone(&self) -> RecoveryKeyMaterialResponseBody
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for RecoveryKeyMaterialResponseBody
impl<'de> Deserialize<'de> for RecoveryKeyMaterialResponseBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RecoveryKeyMaterialResponseBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RecoveryKeyMaterialResponseBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&RecoveryKeyMaterialResponseBody> for RecoveryKeyMaterialResponseBody
impl From<&RecoveryKeyMaterialResponseBody> for RecoveryKeyMaterialResponseBody
Source§fn from(
value: &RecoveryKeyMaterialResponseBody,
) -> RecoveryKeyMaterialResponseBody
fn from( value: &RecoveryKeyMaterialResponseBody, ) -> RecoveryKeyMaterialResponseBody
Converts to this type from the input type.
Source§impl Serialize for RecoveryKeyMaterialResponseBody
impl Serialize for RecoveryKeyMaterialResponseBody
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RecoveryKeyMaterialResponseBody
impl RefUnwindSafe for RecoveryKeyMaterialResponseBody
impl Send for RecoveryKeyMaterialResponseBody
impl Sync for RecoveryKeyMaterialResponseBody
impl Unpin for RecoveryKeyMaterialResponseBody
impl UnwindSafe for RecoveryKeyMaterialResponseBody
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