Struct slack_morphism::prelude::SlackTeamLimits
source · 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 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