fusionauth_rust_client/models/
history_item.rs

1/*
2 * FusionAuth API
3 *
4 * This is a FusionAuth server. Find out more at [https://fusionauth.io](https://fusionauth.io). You need to [set up an API key](https://fusionauth.io/docs/v1/tech/apis/authentication#managing-api-keys) in the FusionAuth instance you are using to test out the API calls.
5 *
6 * The version of the OpenAPI document: 1.60.1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct HistoryItem {
16    #[serde(rename = "actionerUserId", skip_serializing_if = "Option::is_none")]
17    pub actioner_user_id: Option<uuid::Uuid>,
18    #[serde(rename = "comment", skip_serializing_if = "Option::is_none")]
19    pub comment: Option<String>,
20    /// The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
21    #[serde(rename = "createInstant", skip_serializing_if = "Option::is_none")]
22    pub create_instant: Option<i64>,
23    /// The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
24    #[serde(rename = "expiry", skip_serializing_if = "Option::is_none")]
25    pub expiry: Option<i64>,
26}
27
28impl HistoryItem {
29    pub fn new() -> HistoryItem {
30        HistoryItem {
31            actioner_user_id: None,
32            comment: None,
33            create_instant: None,
34            expiry: None,
35        }
36    }
37}
38