pub enum GiveGoldError {
Status498,
Status499,
Status492,
Status486,
}Expand description
struct for typed errors of method give_gold
Variants§
Status498
Character not found.
Status499
The character is in cooldown.
Status492
The character does not have enough gold.
Status486
An action is already in progress for this character.
Trait Implementations§
Source§impl Clone for GiveGoldError
impl Clone for GiveGoldError
Source§fn clone(&self) -> GiveGoldError
fn clone(&self) -> GiveGoldError
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 GiveGoldError
impl Debug for GiveGoldError
Source§impl<'de> Deserialize<'de> for GiveGoldError
impl<'de> Deserialize<'de> for GiveGoldError
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 GiveGoldError
impl Serialize for GiveGoldError
Source§impl TryFrom<StatusCode> for GiveGoldError
impl TryFrom<StatusCode> for GiveGoldError
Auto Trait Implementations§
impl Freeze for GiveGoldError
impl RefUnwindSafe for GiveGoldError
impl Send for GiveGoldError
impl Sync for GiveGoldError
impl Unpin for GiveGoldError
impl UnwindSafe for GiveGoldError
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