Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/Enhanced/SecureMessageChannel/
SecurityStats.rs

1//! Snapshot of the channel's current key, age, usage count,
2//! number of retained previous keys, and the active config.
3
4use serde::{Deserialize, Serialize};
5
6use crate::IPC::Enhanced::SecureMessageChannel::SecurityConfig;
7
8#[derive(Debug, Clone, Serialize, Deserialize)]
9pub struct Struct {
10	pub current_key_id:String,
11
12	pub current_key_age_seconds:u64,
13
14	pub current_key_usage_count:usize,
15
16	pub previous_keys_count:usize,
17
18	pub config:SecurityConfig::Struct,
19}