pub enum PublicApiErrorCode {
AuthenticationFailed,
AccessDenied,
InvalidRequest,
InvalidQuery,
InvalidBody,
ResourceNotFound,
Conflict,
RateLimited,
MethodNotAllowed,
InternalError,
}Expand description
PublicApiErrorCode : Stable machine-readable error code returned by the evaluators and evaluation-rules API. Stable machine-readable error code returned by the evaluators and evaluation-rules API.
Variants§
AuthenticationFailed
AccessDenied
InvalidRequest
InvalidQuery
InvalidBody
ResourceNotFound
Conflict
RateLimited
MethodNotAllowed
InternalError
Trait Implementations§
Source§impl Clone for PublicApiErrorCode
impl Clone for PublicApiErrorCode
impl Copy for PublicApiErrorCode
Source§impl Debug for PublicApiErrorCode
impl Debug for PublicApiErrorCode
Source§impl Default for PublicApiErrorCode
impl Default for PublicApiErrorCode
Source§fn default() -> PublicApiErrorCode
fn default() -> PublicApiErrorCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublicApiErrorCode
impl<'de> Deserialize<'de> for PublicApiErrorCode
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PublicApiErrorCode
impl Display for PublicApiErrorCode
impl Eq for PublicApiErrorCode
Source§impl Hash for PublicApiErrorCode
impl Hash for PublicApiErrorCode
Source§impl Ord for PublicApiErrorCode
impl Ord for PublicApiErrorCode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PublicApiErrorCode
impl PartialEq for PublicApiErrorCode
Source§impl PartialOrd for PublicApiErrorCode
impl PartialOrd for PublicApiErrorCode
Source§impl Serialize for PublicApiErrorCode
impl Serialize for PublicApiErrorCode
impl StructuralPartialEq for PublicApiErrorCode
Auto Trait Implementations§
impl Freeze for PublicApiErrorCode
impl RefUnwindSafe for PublicApiErrorCode
impl Send for PublicApiErrorCode
impl Sync for PublicApiErrorCode
impl Unpin for PublicApiErrorCode
impl UnsafeUnpin for PublicApiErrorCode
impl UnwindSafe for PublicApiErrorCode
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