pub struct AuditLogParams {Show 13 fields
pub session_id: String,
pub workflow_id: Option<String>,
pub action_type: ActionType,
pub action_detail: String,
pub model_used: Option<String>,
pub cost: Option<f64>,
pub input_hash: String,
pub output_summary: String,
pub decision: ActionDecision,
pub approved_by: Option<String>,
pub duration_ms: u64,
pub success: bool,
pub error: Option<String>,
}Expand description
Parameters for creating a new audit log entry.
Fields§
§session_id: String§workflow_id: Option<String>§action_type: ActionType§action_detail: String§model_used: Option<String>§cost: Option<f64>§input_hash: String§output_summary: String§decision: ActionDecision§approved_by: Option<String>§duration_ms: u64§success: bool§error: Option<String>Trait Implementations§
Source§impl Clone for AuditLogParams
impl Clone for AuditLogParams
Source§fn clone(&self) -> AuditLogParams
fn clone(&self) -> AuditLogParams
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 moreAuto Trait Implementations§
impl Freeze for AuditLogParams
impl RefUnwindSafe for AuditLogParams
impl Send for AuditLogParams
impl Sync for AuditLogParams
impl Unpin for AuditLogParams
impl UnsafeUnpin for AuditLogParams
impl UnwindSafe for AuditLogParams
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