pub enum ActionTransitionError {
    Status498(ErrorResponseSchema),
    Status499(ErrorResponseSchema),
    Status404(ErrorResponseSchema),
    Status492(ErrorResponseSchema),
    Status478(ErrorResponseSchema),
    Status486(ErrorResponseSchema),
    Status496(ErrorResponseSchema),
    Status422(ErrorResponseSchema),
}Expand description
struct for typed errors of method action_transition
Variants§
Status498(ErrorResponseSchema)
Character not found.
Status499(ErrorResponseSchema)
The character is in cooldown.
Status404(ErrorResponseSchema)
Transition not found.
Status492(ErrorResponseSchema)
Insufficient gold for this transition.
Status478(ErrorResponseSchema)
Missing required item(s).
Status486(ErrorResponseSchema)
An action is already in progress for this character.
Status496(ErrorResponseSchema)
Conditions not met.
Status422(ErrorResponseSchema)
Request could not be processed due to an invalid payload.
Trait Implementations§
Source§impl Clone for ActionTransitionError
 
impl Clone for ActionTransitionError
Source§fn clone(&self) -> ActionTransitionError
 
fn clone(&self) -> ActionTransitionError
Returns a duplicate of the value. Read more
1.0.0 · 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 ActionTransitionError
 
impl Debug for ActionTransitionError
Source§impl<'de> Deserialize<'de> for ActionTransitionError
 
impl<'de> Deserialize<'de> for ActionTransitionError
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 ActionTransitionError
impl RefUnwindSafe for ActionTransitionError
impl Send for ActionTransitionError
impl Sync for ActionTransitionError
impl Unpin for ActionTransitionError
impl UnwindSafe for ActionTransitionError
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