pub enum FightSimulationError {
    Status404(ErrorResponseSchema),
    Status451(ErrorResponseSchema),
    Status422(ErrorResponseSchema),
}Expand description
struct for typed errors of method fight_simulation
Variants§
Status404(ErrorResponseSchema)
Monster not found.
Status451(ErrorResponseSchema)
Access denied, you must be a member to do that.
Status422(ErrorResponseSchema)
Request could not be processed due to an invalid payload.
Trait Implementations§
Source§impl Clone for FightSimulationError
 
impl Clone for FightSimulationError
Source§fn clone(&self) -> FightSimulationError
 
fn clone(&self) -> FightSimulationError
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 FightSimulationError
 
impl Debug for FightSimulationError
Source§impl<'de> Deserialize<'de> for FightSimulationError
 
impl<'de> Deserialize<'de> for FightSimulationError
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 FightSimulationError
impl RefUnwindSafe for FightSimulationError
impl Send for FightSimulationError
impl Sync for FightSimulationError
impl Unpin for FightSimulationError
impl UnwindSafe for FightSimulationError
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