pub enum AskGameAssistantError {
Status451(ErrorResponseSchema),
Status570(ErrorResponseSchema),
Status563(ErrorResponseSchema),
Status422(ErrorResponseSchema),
}Expand description
struct for typed errors of method ask_game_assistant
Variants§
Status451(ErrorResponseSchema)
Access denied, you must be a member to do that.
Status570(ErrorResponseSchema)
You have reached the daily limit for assistant questions. Try again tomorrow.
Status563(ErrorResponseSchema)
Insufficient gems.
Status422(ErrorResponseSchema)
Request could not be processed due to an invalid payload.
Trait Implementations§
Source§impl Clone for AskGameAssistantError
impl Clone for AskGameAssistantError
Source§fn clone(&self) -> AskGameAssistantError
fn clone(&self) -> AskGameAssistantError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AskGameAssistantError
impl Debug for AskGameAssistantError
Source§impl<'de> Deserialize<'de> for AskGameAssistantError
impl<'de> Deserialize<'de> for AskGameAssistantError
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
Auto Trait Implementations§
impl Freeze for AskGameAssistantError
impl RefUnwindSafe for AskGameAssistantError
impl Send for AskGameAssistantError
impl Sync for AskGameAssistantError
impl Unpin for AskGameAssistantError
impl UnsafeUnpin for AskGameAssistantError
impl UnwindSafe for AskGameAssistantError
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