vrchatapi 1.22.2-nightly.1

VRChat API Client for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::models;
use serde::{Deserialize, Serialize};

/// GroupAuditLogEntryStringChange : A text field's value before and after an update.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GroupAuditLogEntryStringChange {
    #[serde(rename = "new")]
    pub new: String,
    #[serde(rename = "old")]
    pub old: String,
}

impl GroupAuditLogEntryStringChange {
    /// A text field's value before and after an update.
    pub fn new(new: String, old: String) -> GroupAuditLogEntryStringChange {
        GroupAuditLogEntryStringChange { new, old }
    }
}