fusionauth_rust_client/models/
audit_log_search_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct AuditLogSearchResponse {
17 #[serde(rename = "auditLogs", skip_serializing_if = "Option::is_none")]
18 pub audit_logs: Option<Vec<models::AuditLog>>,
19 #[serde(rename = "total", skip_serializing_if = "Option::is_none")]
20 pub total: Option<i64>,
21}
22
23impl AuditLogSearchResponse {
24 pub fn new() -> AuditLogSearchResponse {
26 AuditLogSearchResponse {
27 audit_logs: None,
28 total: None,
29 }
30 }
31}
32