pub enum WithdrawGoldError {
Status498(ErrorResponseSchema),
Status499(ErrorResponseSchema),
Status461(ErrorResponseSchema),
Status486(ErrorResponseSchema),
Status598(ErrorResponseSchema),
Status460(ErrorResponseSchema),
Status422(ErrorResponseSchema),
}Expand description
struct for typed errors of method withdraw_gold
Variants§
Status498(ErrorResponseSchema)
Character not found.
Status499(ErrorResponseSchema)
The character is in cooldown.
Status461(ErrorResponseSchema)
Some of your items or your gold in the bank are already part of an ongoing transaction.
Status486(ErrorResponseSchema)
An action is already in progress for this character.
Status598(ErrorResponseSchema)
Bank not found on this map.
Status460(ErrorResponseSchema)
Insufficient gold in your bank.
Status422(ErrorResponseSchema)
Request could not be processed due to an invalid payload.
Trait Implementations§
Source§impl Clone for WithdrawGoldError
impl Clone for WithdrawGoldError
Source§fn clone(&self) -> WithdrawGoldError
fn clone(&self) -> WithdrawGoldError
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 WithdrawGoldError
impl Debug for WithdrawGoldError
Source§impl<'de> Deserialize<'de> for WithdrawGoldError
impl<'de> Deserialize<'de> for WithdrawGoldError
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 WithdrawGoldError
impl RefUnwindSafe for WithdrawGoldError
impl Send for WithdrawGoldError
impl Sync for WithdrawGoldError
impl Unpin for WithdrawGoldError
impl UnwindSafe for WithdrawGoldError
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