pub struct AuthRateLimitRejection {
pub scope: AuthRateLimitScope,
pub outcome: RateLimitOutcome,
}Expand description
Rejected authentication rate-limit decision.
Fields§
§scope: AuthRateLimitScopeBudget that rejected the request.
outcome: RateLimitOutcomeToken-bucket decision details.
Trait Implementations§
Source§impl Clone for AuthRateLimitRejection
impl Clone for AuthRateLimitRejection
Source§impl Debug for AuthRateLimitRejection
impl Debug for AuthRateLimitRejection
Source§impl Display for AuthRateLimitRejection
impl Display for AuthRateLimitRejection
impl Eq for AuthRateLimitRejection
Source§impl Error for AuthRateLimitRejection
impl Error for AuthRateLimitRejection
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for AuthRateLimitRejection
impl PartialEq for AuthRateLimitRejection
impl StructuralPartialEq for AuthRateLimitRejection
Auto Trait Implementations§
impl Freeze for AuthRateLimitRejection
impl RefUnwindSafe for AuthRateLimitRejection
impl Send for AuthRateLimitRejection
impl Sync for AuthRateLimitRejection
impl Unpin for AuthRateLimitRejection
impl UnsafeUnpin for AuthRateLimitRejection
impl UnwindSafe for AuthRateLimitRejection
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