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