pub struct IdentityConfig {
pub pubkey: String,
pub owner: Option<String>,
pub algorithm: String,
pub key_version: u32,
pub created_at_key: Option<String>,
pub previous_pubkey: Option<String>,
pub previous_key_version: Option<u32>,
pub grace_expires_at: Option<String>,
pub rotated_at: Option<String>,
pub emergency_rekey_at: Option<String>,
}Fields§
§pubkey: StringMultibase-encoded Ed25519 public key (base58btc, z prefix).
Empty string for legacy P0a profiles; filled on P0a.5 mur agent create.
owner: Option<String>Free-form owner identity (email / SSO sub). None for legacy profiles.
algorithm: StringCryptographic algorithm for this key. Defaults to “ed25519”.
key_version: u32Monotonic version counter; 0 = initial create, increments on each rotation.
created_at_key: Option<String>RFC3339 timestamp of when this key was created.
previous_pubkey: Option<String>Previous public key (before most recent rotation). None if not rotated yet.
previous_key_version: Option<u32>Version of the previous key. None if not rotated yet.
grace_expires_at: Option<String>RFC3339 timestamp when grace period expires and old key is fully retired. Only set during rotation; cleared once grace period ends.
rotated_at: Option<String>RFC3339 timestamp of the most recent key rotation (normal, not emergency).
emergency_rekey_at: Option<String>RFC3339 timestamp of emergency key rotation (set only if emergency rekey occurred).
Trait Implementations§
Source§impl Clone for IdentityConfig
impl Clone for IdentityConfig
Source§fn clone(&self) -> IdentityConfig
fn clone(&self) -> IdentityConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IdentityConfig
impl Debug for IdentityConfig
Source§impl Default for IdentityConfig
impl Default for IdentityConfig
Source§impl<'de> Deserialize<'de> for IdentityConfig
impl<'de> Deserialize<'de> for IdentityConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for IdentityConfig
impl PartialEq for IdentityConfig
Source§fn eq(&self, other: &IdentityConfig) -> bool
fn eq(&self, other: &IdentityConfig) -> bool
self and other values to be equal, and is used by ==.