pub struct ActivityEvent {}Expand description
Structured activity event emitted after command execution paths.
Fields§
§timestamp: StringUTC timestamp in RFC3339 seconds format.
app: StringCLI application id.
command: StringColon-separated command path.
env: StringSelected environment.
backend: StringBackend/system id.
identity: StringHuman identity from the resolved credential.
sub: StringSubject identifier from the resolved credential.
account_type: StringAccount type from the resolved credential.
status: StringOutcome such as ok, error, denied, auth-error, or dry-run.
error: StringError message for failed outcomes.
reason: StringUser-provided reason.
args: ValueMapEffective command args.
duration_ms: i64Command duration in milliseconds.
meta: ValueMapReserved extension metadata.
Trait Implementations§
Source§impl Clone for ActivityEvent
impl Clone for ActivityEvent
Source§fn clone(&self) -> ActivityEvent
fn clone(&self) -> ActivityEvent
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 ActivityEvent
impl Debug for ActivityEvent
Source§impl<'de> Deserialize<'de> for ActivityEvent
impl<'de> Deserialize<'de> for ActivityEvent
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
impl Eq for ActivityEvent
Source§impl PartialEq for ActivityEvent
impl PartialEq for ActivityEvent
Source§fn eq(&self, other: &ActivityEvent) -> bool
fn eq(&self, other: &ActivityEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ActivityEvent
impl Serialize for ActivityEvent
impl StructuralPartialEq for ActivityEvent
Auto Trait Implementations§
impl Freeze for ActivityEvent
impl RefUnwindSafe for ActivityEvent
impl Send for ActivityEvent
impl Sync for ActivityEvent
impl Unpin for ActivityEvent
impl UnsafeUnpin for ActivityEvent
impl UnwindSafe for ActivityEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.