pub enum AuditData {
Vault(VaultId),
Secret(VaultId, SecretId),
MoveSecret {
from_vault_id: VaultId,
from_secret_id: SecretId,
to_vault_id: VaultId,
to_secret_id: SecretId,
},
Device(DevicePublicKey),
}Expand description
Associated data for an audit log record.
Variants§
Vault(VaultId)
Data for an associated vault.
Secret(VaultId, SecretId)
Data for an associated secret.
MoveSecret
Data for a move secret event.
Fields
Device(DevicePublicKey)
Device trust or revoke events.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuditData
impl<'de> Deserialize<'de> for AuditData
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 Encodable for AuditData
impl Encodable for AuditData
Source§fn encode<'life0, 'life1, 'async_trait, W>(
&'life0 self,
writer: &'life1 mut BinaryWriter<W>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + AsyncSeek + Unpin + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn encode<'life0, 'life1, 'async_trait, W>(
&'life0 self,
writer: &'life1 mut BinaryWriter<W>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
W: 'async_trait + AsyncWrite + AsyncSeek + Unpin + Send,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Encode self into the binary writer.
impl Eq for AuditData
impl StructuralPartialEq for AuditData
Auto Trait Implementations§
impl Freeze for AuditData
impl RefUnwindSafe for AuditData
impl Send for AuditData
impl Sync for AuditData
impl Unpin for AuditData
impl UnwindSafe for AuditData
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