This commit is contained in:
@@ -83,6 +83,27 @@ pub struct RescheduleTask {
|
||||
pub scheduled_date: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
pub struct EncryptionDevice {
|
||||
pub id: i64,
|
||||
pub name: String,
|
||||
pub age_recipient: String,
|
||||
pub status: String,
|
||||
pub created_at: i64,
|
||||
pub revoked_at: Option<i64>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
pub struct EncryptionRecipient {
|
||||
pub age_recipient: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
pub struct CreateEncryptionDevice {
|
||||
pub name: String,
|
||||
pub age_recipient: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct PrivatePayload {
|
||||
pub version: u8,
|
||||
|
||||
Reference in New Issue
Block a user