pub struct AuditEntry {Show 17 fields
pub request_id: String,
pub correlation_id: String,
pub ecosystem: String,
pub package_name: String,
pub package_version: String,
pub variant: String,
pub policy_decision: String,
pub verdict_id: String,
pub verdict_source: String,
pub policy_rule_id_matched: String,
pub risk_acceptance_status: String,
pub reasoning: String,
pub gcs_hit: bool,
pub request_at: String,
pub verdict_at: String,
pub response_at: String,
pub app_version: String,
}Fields§
§request_id: StringCLEANLIB-794 — the App’s request_id placeholder (nil-UUID) is
filtered here on deserialize so the CLI table and any SDK caller see
the empty string rather than a fake identifier repeated on every row.
Callers that want to distinguish “stamped” from “absent” check
!request_id.is_empty(); the SDK API shape is unchanged (still
String), so this is a non-breaking robustness lift.
correlation_id: String§ecosystem: String§package_name: String§package_version: String§variant: String§policy_decision: String§verdict_id: String§verdict_source: String§policy_rule_id_matched: String§risk_acceptance_status: String§reasoning: String§gcs_hit: bool§request_at: String§verdict_at: String§response_at: String§app_version: StringTrait Implementations§
Source§impl Clone for AuditEntry
impl Clone for AuditEntry
Source§fn clone(&self) -> AuditEntry
fn clone(&self) -> AuditEntry
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 AuditEntry
impl Debug for AuditEntry
Source§impl Default for AuditEntry
impl Default for AuditEntry
Source§fn default() -> AuditEntry
fn default() -> AuditEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuditEntrywhere
AuditEntry: Default,
impl<'de> Deserialize<'de> for AuditEntrywhere
AuditEntry: Default,
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
Auto Trait Implementations§
impl Freeze for AuditEntry
impl RefUnwindSafe for AuditEntry
impl Send for AuditEntry
impl Sync for AuditEntry
impl Unpin for AuditEntry
impl UnsafeUnpin for AuditEntry
impl UnwindSafe for AuditEntry
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