pub struct EnvSecretRevocation {
pub tenant: String,
pub name: String,
pub environment: EnvironmentTag,
pub revoked_by: ProvenanceAuthor,
pub revoked_at: DateTime<Utc>,
}Expand description
A secret was revoked by deletion: the journaled payload of an
crate::record::RunEventKind::EnvSecretRevoked event. Deletion is
the only revocation path — there is no disable flag to forget, and
the tombstone is the evidence the scope once held a value.
Fields§
§tenant: StringThe tenant the secret served.
name: StringThe revoked secret’s name.
environment: EnvironmentTagThe environment the secret was scoped to.
revoked_by: ProvenanceAuthorWho revoked it (human:{id}).
revoked_at: DateTime<Utc>When the revocation journaled.
Trait Implementations§
Source§impl Clone for EnvSecretRevocation
impl Clone for EnvSecretRevocation
Source§impl Debug for EnvSecretRevocation
impl Debug for EnvSecretRevocation
Source§impl<'de> Deserialize<'de> for EnvSecretRevocation
impl<'de> Deserialize<'de> for EnvSecretRevocation
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
Source§impl PartialEq for EnvSecretRevocation
impl PartialEq for EnvSecretRevocation
Source§impl Serialize for EnvSecretRevocation
impl Serialize for EnvSecretRevocation
impl StructuralPartialEq for EnvSecretRevocation
Auto Trait Implementations§
impl Freeze for EnvSecretRevocation
impl RefUnwindSafe for EnvSecretRevocation
impl Send for EnvSecretRevocation
impl Sync for EnvSecretRevocation
impl Unpin for EnvSecretRevocation
impl UnsafeUnpin for EnvSecretRevocation
impl UnwindSafe for EnvSecretRevocation
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