t_rust_less_lib/api/
config.rs1use serde::{Deserialize, Serialize};
2use zeroize::Zeroize;
3
4#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq, Zeroize)]
5#[cfg_attr(feature = "with_specta", derive(specta::Type))]
6#[zeroize(drop)]
7pub struct StoreConfig {
8 pub name: String,
9 pub store_url: String,
10 pub remote_url: Option<String>,
11 #[serde(default)]
12 pub sync_interval_sec: u32,
13 pub client_id: String,
14 pub autolock_timeout_secs: u64,
15 pub default_identity_id: Option<String>,
16}