revolt-models 0.9.4

Revolt Backend: API Models
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use iso8601_timestamp::Timestamp;

auto_derived!(
    /// Platform policy change
    pub struct PolicyChange {
        /// Time at which this policy was created
        pub created_time: Timestamp,
        /// Time at which this policy is effective
        pub effective_time: Timestamp,

        /// Message shown to users
        pub description: String,
        /// URL with details about changes
        pub url: String,
    }
);