Give each user their own rate limits

This commit is contained in:
bitfl0wer 2023-04-24 19:51:35 +02:00
parent c9d5bb8b6e
commit d9857180e9
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@ pub mod schemas {
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::{collections::HashMap, fmt}; use std::{collections::HashMap, fmt};
use crate::{errors::FieldFormatError, URLBundle}; use crate::{api::limits::Limits, errors::FieldFormatError, URLBundle};
/** /**
A struct that represents a well-formed email address. A struct that represents a well-formed email address.
@ -405,6 +405,7 @@ pub mod schemas {
logged_in: bool, logged_in: bool,
belongs_to: URLBundle, belongs_to: URLBundle,
token: String, token: String,
rate_limits: Limits,
pub settings: UserSettings, pub settings: UserSettings,
pub object: UserObject, pub object: UserObject,
} }