pub struct SlackTeamLimits {
pub team_limit_counter: Option<ThrottlingCounter>,
pub tier_limits: HashMap<SlackApiMethodRateTier, ThrottlingCounter>,
pub special_limits: HashMap<SlackApiRateControlSpecialLimitKey, ThrottlingCounter>,
pub updated: Instant,
}
Fields§
§team_limit_counter: Option<ThrottlingCounter>
§tier_limits: HashMap<SlackApiMethodRateTier, ThrottlingCounter>
§special_limits: HashMap<SlackApiRateControlSpecialLimitKey, ThrottlingCounter>
§updated: Instant
Implementations§
Source§impl SlackTeamLimits
impl SlackTeamLimits
pub fn new(rate_control_config: &SlackApiRateControlConfig) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SlackTeamLimits
impl RefUnwindSafe for SlackTeamLimits
impl Send for SlackTeamLimits
impl Sync for SlackTeamLimits
impl Unpin for SlackTeamLimits
impl UnwindSafe for SlackTeamLimits
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more