rename user rate_limits to limits for consistency

This commit is contained in:
bitfl0wer 2023-05-06 18:52:24 +02:00
parent 0efdc8bfc2
commit f943f57f03
1 changed files with 3 additions and 3 deletions

View File

@ -158,7 +158,7 @@ pub struct User<'a> {
pub logged_in: bool,
pub belongs_to: &'a mut Instance<'a>,
token: String,
pub rate_limits: Limits,
pub limits: Limits,
pub settings: UserSettings,
pub object: UserObject,
}
@ -188,7 +188,7 @@ impl<'a> User<'a> {
logged_in: bool,
belongs_to: &'a mut Instance<'a>,
token: String,
rate_limits: Limits,
limits: Limits,
settings: UserSettings,
object: UserObject,
) -> User<'a> {
@ -196,7 +196,7 @@ impl<'a> User<'a> {
logged_in,
belongs_to,
token,
rate_limits,
limits,
settings,
object,
}