Give each user their own rate limits
This commit is contained in:
parent
c9d5bb8b6e
commit
d9857180e9
|
@ -3,7 +3,7 @@ pub mod schemas {
|
|||
use serde::{Deserialize, Serialize};
|
||||
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.
|
||||
|
@ -405,6 +405,7 @@ pub mod schemas {
|
|||
logged_in: bool,
|
||||
belongs_to: URLBundle,
|
||||
token: String,
|
||||
rate_limits: Limits,
|
||||
pub settings: UserSettings,
|
||||
pub object: UserObject,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue