secret-service 5.1.0

Library to interface with Secret Service API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod collection;
pub mod item;
pub mod prompt;
pub mod service;

use serde::{Deserialize, Serialize};
use zbus::zvariant::{OwnedObjectPath, Type};

#[derive(Debug, Serialize, Deserialize, Type)]
pub struct SecretStruct {
    pub(crate) session: OwnedObjectPath,
    pub(crate) parameters: Vec<u8>,
    pub(crate) value: Vec<u8>,
    pub(crate) content_type: String,
}