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: InstantImplementations
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more