pub enum ProblemId {
Show 46 variants
OrganizationNameMissing,
UserAlreadyExist,
RegistrationDisabled,
PasswordTooShort,
PasswordTooLong,
PasswordSimilarToEmail,
PasswordSimilarToName,
PasswordTooCommon,
PasswordNotDiverseEnough,
OrganizationIsNotEmpty,
InvitedUserDoesNotExist,
InvitedUserAlreadyInOrganization,
ApplicationNameMissing,
InvalidRole,
EventTypeAlreadyExist,
EventTypeDoesNotExist,
UnauthorizedWorkers,
EventAlreadyIngested,
EventInvalidPayloadContentType,
EventInvalidBase64Payload,
EventInvalidJsonPayload,
LabelsAmbiguity,
InvalidDateRange,
AuthNoAuthorizationHeader,
AuthInvalidAuthorizationHeader,
AuthApplicationSecretLookupError,
AuthInvalidApplicationSecret,
AuthBiscuitLookupError,
AuthInvalidBiscuit,
AuthFailedLogin,
AuthEmailNotVerified,
AuthEmailAlreadyVerified,
AuthFailedRefresh,
AuthEmailExpired,
TooManyMembersPerOrganization,
TooManyApplicationsPerOrganization,
TooManyEventsToday,
TooManySubscriptionsPerApplication,
TooManyEventTypesPerApplication,
JsonPayload,
Validation,
NotFound,
InternalServerError,
Forbidden,
RateLimited,
ServiceUnavailable,
}Expand description
One of the values the API answers with.
Variants§
OrganizationNameMissing
The OrganizationNameMissing the API answers with.
UserAlreadyExist
The UserAlreadyExist the API answers with.
RegistrationDisabled
The RegistrationDisabled the API answers with.
PasswordTooShort
The PasswordTooShort the API answers with.
PasswordTooLong
The PasswordTooLong the API answers with.
PasswordSimilarToEmail
The PasswordSimilarToEmail the API answers with.
PasswordSimilarToName
The PasswordSimilarToName the API answers with.
PasswordTooCommon
The PasswordTooCommon the API answers with.
PasswordNotDiverseEnough
The PasswordNotDiverseEnough the API answers with.
OrganizationIsNotEmpty
The OrganizationIsNotEmpty the API answers with.
InvitedUserDoesNotExist
The InvitedUserDoesNotExist the API answers with.
InvitedUserAlreadyInOrganization
The InvitedUserAlreadyInOrganization the API answers with.
ApplicationNameMissing
The ApplicationNameMissing the API answers with.
InvalidRole
The InvalidRole the API answers with.
EventTypeAlreadyExist
The EventTypeAlreadyExist the API answers with.
EventTypeDoesNotExist
The EventTypeDoesNotExist the API answers with.
The UnauthorizedWorkers the API answers with.
EventAlreadyIngested
The EventAlreadyIngested the API answers with.
EventInvalidPayloadContentType
The EventInvalidPayloadContentType the API answers with.
EventInvalidBase64Payload
The EventInvalidBase64Payload the API answers with.
EventInvalidJsonPayload
The EventInvalidJsonPayload the API answers with.
LabelsAmbiguity
The LabelsAmbiguity the API answers with.
InvalidDateRange
The InvalidDateRange the API answers with.
AuthNoAuthorizationHeader
The AuthNoAuthorizationHeader the API answers with.
AuthInvalidAuthorizationHeader
The AuthInvalidAuthorizationHeader the API answers with.
AuthApplicationSecretLookupError
The AuthApplicationSecretLookupError the API answers with.
AuthInvalidApplicationSecret
The AuthInvalidApplicationSecret the API answers with.
AuthBiscuitLookupError
The AuthBiscuitLookupError the API answers with.
AuthInvalidBiscuit
The AuthInvalidBiscuit the API answers with.
AuthFailedLogin
The AuthFailedLogin the API answers with.
AuthEmailNotVerified
The AuthEmailNotVerified the API answers with.
AuthEmailAlreadyVerified
The AuthEmailAlreadyVerified the API answers with.
AuthFailedRefresh
The AuthFailedRefresh the API answers with.
AuthEmailExpired
The AuthEmailExpired the API answers with.
TooManyMembersPerOrganization
The TooManyMembersPerOrganization the API answers with.
TooManyApplicationsPerOrganization
The TooManyApplicationsPerOrganization the API answers with.
TooManyEventsToday
The TooManyEventsToday the API answers with.
TooManySubscriptionsPerApplication
The TooManySubscriptionsPerApplication the API answers with.
TooManyEventTypesPerApplication
The TooManyEventTypesPerApplication the API answers with.
JsonPayload
The JsonPayload the API answers with.
Validation
The Validation the API answers with.
NotFound
The NotFound the API answers with.
InternalServerError
The InternalServerError the API answers with.
Forbidden
The Forbidden the API answers with.
RateLimited
The RateLimited the API answers with.
The ServiceUnavailable the API answers with.
Implementations§
Trait Implementations§
impl Copy for ProblemId
Source§impl<'de> Deserialize<'de> for ProblemId
impl<'de> Deserialize<'de> for ProblemId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ProblemId
impl StructuralPartialEq for ProblemId
Auto Trait Implementations§
impl Freeze for ProblemId
impl RefUnwindSafe for ProblemId
impl Send for ProblemId
impl Sync for ProblemId
impl Unpin for ProblemId
impl UnsafeUnpin for ProblemId
impl UnwindSafe for ProblemId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more