pub enum WithdrawItemError {
Status404,
Status498,
Status499,
Status461,
Status486,
Status497,
Status598,
Status478,
}Expand description
struct for typed errors of method withdraw_item
Variants§
Status404
Item not found.
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.
Status497
The character's inventory is full.
Status598
Bank not found on this map.
Status478
Missing item or insufficient quantity.
Trait Implementations§
Source§impl Clone for WithdrawItemError
impl Clone for WithdrawItemError
Source§fn clone(&self) -> WithdrawItemError
fn clone(&self) -> WithdrawItemError
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 WithdrawItemError
impl Debug for WithdrawItemError
Source§impl<'de> Deserialize<'de> for WithdrawItemError
impl<'de> Deserialize<'de> for WithdrawItemError
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 WithdrawItemError
impl Serialize for WithdrawItemError
Source§impl TryFrom<StatusCode> for WithdrawItemError
impl TryFrom<StatusCode> for WithdrawItemError
Auto Trait Implementations§
impl Freeze for WithdrawItemError
impl RefUnwindSafe for WithdrawItemError
impl Send for WithdrawItemError
impl Sync for WithdrawItemError
impl Unpin for WithdrawItemError
impl UnwindSafe for WithdrawItemError
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