This commit is contained in:
@@ -130,6 +130,29 @@ pub struct DueNotification {
|
||||
pub priority: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct CreateEncryptionDevice {
|
||||
pub name: String,
|
||||
pub age_recipient: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize)]
|
||||
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, Serialize)]
|
||||
pub struct EncryptionRecipient {
|
||||
pub id: i64,
|
||||
pub name: String,
|
||||
pub age_recipient: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
pub struct IdResponse {
|
||||
pub id: i64,
|
||||
|
||||
Reference in New Issue
Block a user