Give each user their own rate limits
This commit is contained in:
parent
88b715ee6c
commit
aba42a6869
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue