pub enum NpcBuyItemError {
Status598,
Status498,
Status497,
Status499,
Status486,
Status492,
Status441,
Status478,
Status404,
}Expand description
struct for typed errors of method npc_buy_item
Variants§
Status598
NPC not found on this map.
Status498
Character not found.
Status497
The character's inventory is full.
Status499
The character is in cooldown.
Status486
An action is already in progress for this character.
Status492
The character does not have enough gold.
Status441
This item is not available for purchase.
Status478
Missing item or insufficient quantity.
Status404
Item not found.
Trait Implementations§
Source§impl Clone for NpcBuyItemError
impl Clone for NpcBuyItemError
Source§fn clone(&self) -> NpcBuyItemError
fn clone(&self) -> NpcBuyItemError
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 NpcBuyItemError
impl Debug for NpcBuyItemError
Source§impl<'de> Deserialize<'de> for NpcBuyItemError
impl<'de> Deserialize<'de> for NpcBuyItemError
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 NpcBuyItemError
impl Serialize for NpcBuyItemError
Source§impl TryFrom<StatusCode> for NpcBuyItemError
impl TryFrom<StatusCode> for NpcBuyItemError
Auto Trait Implementations§
impl Freeze for NpcBuyItemError
impl RefUnwindSafe for NpcBuyItemError
impl Send for NpcBuyItemError
impl Sync for NpcBuyItemError
impl Unpin for NpcBuyItemError
impl UnwindSafe for NpcBuyItemError
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