eclipsis_rs/models/success_2.rs
1/*
2 * xethlyx's api server
3 *
4 * Public APIs for use within whatever you want. These are ratelimited, so try to keep requests to a minimum. Future use of the API will require an API key. ## API Keys API keys need to be passed alongside every request. With an API key, you are also expected to adhere to the following guidelines: - Do not share your API key. - Data can be retained for a maximum of 30 days (this is to adhere with GDPR guidelines). API keys can also be saved to the browser for convenience using the client login/logout APIs. You can obtain an API key by asking staff in the [Eclipsis discord](https://discord.gg/AkDsUtz).
5 *
6 * The version of the OpenAPI document: 3.0.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct Success2 {
16 #[serde(rename = "success", skip_serializing_if = "Option::is_none")]
17 pub success: Option<bool>,
18 /// All API keys
19 #[serde(rename = "value", skip_serializing_if = "Option::is_none")]
20 pub value: Option<Vec<String>>,
21}
22
23impl Success2 {
24 pub fn new() -> Success2 {
25 Success2 {
26 success: None,
27 value: None,
28 }
29 }
30}
31
32