pub struct PrivilegedGitEvent {
pub actor: String,
pub action: PrivilegedAction,
pub branch: Option<String>,
pub tag: Option<String>,
pub timestamp: Option<String>,
pub commit_sha: Option<String>,
pub detail: Option<String>,
}Expand description
A structured git/platform event for privileged operation auditing.
Fields§
§actor: String§action: PrivilegedAction§branch: Option<String>§tag: Option<String>§timestamp: Option<String>§commit_sha: Option<String>§detail: Option<String>Trait Implementations§
Source§impl Clone for PrivilegedGitEvent
impl Clone for PrivilegedGitEvent
Source§fn clone(&self) -> PrivilegedGitEvent
fn clone(&self) -> PrivilegedGitEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 PrivilegedGitEvent
impl Debug for PrivilegedGitEvent
Source§impl<'de> Deserialize<'de> for PrivilegedGitEvent
impl<'de> Deserialize<'de> for PrivilegedGitEvent
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 PrivilegedGitEvent
impl PartialEq for PrivilegedGitEvent
Source§impl Serialize for PrivilegedGitEvent
impl Serialize for PrivilegedGitEvent
impl Eq for PrivilegedGitEvent
impl StructuralPartialEq for PrivilegedGitEvent
Auto Trait Implementations§
impl Freeze for PrivilegedGitEvent
impl RefUnwindSafe for PrivilegedGitEvent
impl Send for PrivilegedGitEvent
impl Sync for PrivilegedGitEvent
impl Unpin for PrivilegedGitEvent
impl UnsafeUnpin for PrivilegedGitEvent
impl UnwindSafe for PrivilegedGitEvent
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