pub struct ApiKeyValidationError {
pub code: ApiKeyErrorCode,
pub message: ApiKeyErrorMessage,
pub details: Option<ApiKeyErrorDetails>,
}Expand description
An API key rejection with the upstream error code and response fields.
Fields§
§code: ApiKeyErrorCodeStable upstream API key error code.
message: ApiKeyErrorMessageUpstream error message.
details: Option<ApiKeyErrorDetails>Rate-limit timing, when the rejection is a rate limit.
Trait Implementations§
Source§impl Debug for ApiKeyValidationError
impl Debug for ApiKeyValidationError
Auto Trait Implementations§
impl Freeze for ApiKeyValidationError
impl RefUnwindSafe for ApiKeyValidationError
impl Send for ApiKeyValidationError
impl Sync for ApiKeyValidationError
impl Unpin for ApiKeyValidationError
impl UnsafeUnpin for ApiKeyValidationError
impl UnwindSafe for ApiKeyValidationError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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