pub struct EscrowMetadata {
pub escrowed_at: DateTime<Utc>,
pub escrowed_by: String,
pub key_id: String,
pub key_type: String,
pub custodian_count: u32,
pub threshold: u32,
pub description: Option<String>,
}Expand description
Metadata about an escrowed key.
Fields§
§escrowed_at: DateTime<Utc>When the key was escrowed.
escrowed_by: StringWho escrowed it (actor ID).
key_id: StringIdentifier for the escrowed key.
key_type: StringType of key (e.g., “Ed25519”, “ECDSA-P256”, “OpenPGP-private-key”).
custodian_count: u32Number of custodians holding shares (N).
threshold: u32Threshold T required for recovery.
description: Option<String>Optional: human-readable description.
Implementations§
Trait Implementations§
Source§impl Clone for EscrowMetadata
impl Clone for EscrowMetadata
Source§fn clone(&self) -> EscrowMetadata
fn clone(&self) -> EscrowMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EscrowMetadata
impl Debug for EscrowMetadata
Source§impl<'de> Deserialize<'de> for EscrowMetadata
impl<'de> Deserialize<'de> for EscrowMetadata
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EscrowMetadata
impl RefUnwindSafe for EscrowMetadata
impl Send for EscrowMetadata
impl Sync for EscrowMetadata
impl Unpin for EscrowMetadata
impl UnsafeUnpin for EscrowMetadata
impl UnwindSafe for EscrowMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more