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