pub enum CraftError {
Status404(ErrorResponseSchema),
Status598(ErrorResponseSchema),
Status498(ErrorResponseSchema),
Status497(ErrorResponseSchema),
Status499(ErrorResponseSchema),
Status486(ErrorResponseSchema),
Status493(ErrorResponseSchema),
Status478(ErrorResponseSchema),
Status422(ErrorResponseSchema),
}Expand description
struct for typed errors of method craft
Variants§
Status404(ErrorResponseSchema)
Craft not found.
Status598(ErrorResponseSchema)
Workshop not found on this map.
Status498(ErrorResponseSchema)
Character not found.
Status497(ErrorResponseSchema)
The character's inventory is full.
Status499(ErrorResponseSchema)
The character is in cooldown.
Status486(ErrorResponseSchema)
An action is already in progress for this character.
Status493(ErrorResponseSchema)
The character's skill level is too low.
Status478(ErrorResponseSchema)
Missing required item(s).
Status422(ErrorResponseSchema)
Request could not be processed due to an invalid payload.
Trait Implementations§
Source§impl Clone for CraftError
impl Clone for CraftError
Source§fn clone(&self) -> CraftError
fn clone(&self) -> CraftError
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 CraftError
impl Debug for CraftError
Source§impl<'de> Deserialize<'de> for CraftError
impl<'de> Deserialize<'de> for CraftError
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 CraftError
impl RefUnwindSafe for CraftError
impl Send for CraftError
impl Sync for CraftError
impl Unpin for CraftError
impl UnwindSafe for CraftError
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