pub enum WithdrawGoldError {
Status498,
Status499,
Status461,
Status486,
Status598,
Status460,
}Expand description
struct for typed errors of method withdraw_gold
Variants§
Status498
Character not found.
Status499
The character is in cooldown.
Status461
Some of your items or your gold in the bank are already part of an ongoing transaction.
Status486
An action is already in progress for this character.
Status598
Bank not found on this map.
Status460
Insufficient gold in your bank.
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
Source§impl Serialize for WithdrawGoldError
impl Serialize for WithdrawGoldError
Source§impl TryFrom<StatusCode> for WithdrawGoldError
impl TryFrom<StatusCode> for WithdrawGoldError
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