arcp-runtime 2.0.0

Reference runtime (server side) for the Agent Runtime Control Protocol (ARCP) — ARCPRuntime, job / session machinery, persistent store, auth validators, and the `arcp` CLI.
Documentation
//! Persistent metadata shapes for outstanding provisioned credentials.

use chrono::{DateTime, Utc};

use crate::runtime::CredentialId;
use arcp_core::ids::JobId;

/// One outstanding credential ledger row.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct OutstandingCredential {
    /// Credential id.
    pub credential_id: CredentialId,
    /// Job that owns the credential.
    pub job_id: JobId,
    /// Issue timestamp.
    pub issued_at: DateTime<Utc>,
    /// Revocation timestamp, if completed.
    pub revoked_at: Option<DateTime<Utc>>,
}