#[non_exhaustive]pub enum AuditAction {
Created,
Updated,
Deleted,
Linked,
Unlinked,
Materialized,
Run,
Copied,
Custom(String),
}Expand description
Classification of state-changing operations.
Each variant maps to a high-level user-visible action; the dashboard’s audit view groups entries by action.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Created
A new crate::model::Var was created.
Updated
An existing crate::model::Var was modified.
Deleted
A crate::model::Var was deleted.
Linked
A crate::model::Var was linked to a crate::model::Project.
Unlinked
A crate::model::Var was unlinked from a crate::model::Project.
Materialized
A .env file was materialized for a project.
Run
evault run injected env vars into a child process.
Copied
A crate::model::Var value was copied to the clipboard.
Custom(String)
A custom action recorded by an extension.
Implementations§
Trait Implementations§
Source§impl Clone for AuditAction
impl Clone for AuditAction
Source§fn clone(&self) -> AuditAction
fn clone(&self) -> AuditAction
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 AuditAction
impl Debug for AuditAction
Source§impl<'de> Deserialize<'de> for AuditAction
impl<'de> Deserialize<'de> for AuditAction
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 Hash for AuditAction
impl Hash for AuditAction
Source§impl PartialEq for AuditAction
impl PartialEq for AuditAction
Source§fn eq(&self, other: &AuditAction) -> bool
fn eq(&self, other: &AuditAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuditAction
impl Serialize for AuditAction
impl Eq for AuditAction
impl StructuralPartialEq for AuditAction
Auto Trait Implementations§
impl Freeze for AuditAction
impl RefUnwindSafe for AuditAction
impl Send for AuditAction
impl Sync for AuditAction
impl Unpin for AuditAction
impl UnsafeUnpin for AuditAction
impl UnwindSafe for AuditAction
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