pub enum GetMessageError {
Status401(ErrorResponse),
Status404(ErrorResponse),
UnknownValue(Value),
}Expand description
struct for typed errors of method get_message
Variants§
Trait Implementations§
Source§impl Clone for GetMessageError
impl Clone for GetMessageError
Source§fn clone(&self) -> GetMessageError
fn clone(&self) -> GetMessageError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetMessageError
impl Debug for GetMessageError
Source§impl<'de> Deserialize<'de> for GetMessageError
impl<'de> Deserialize<'de> for GetMessageError
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
Auto Trait Implementations§
impl Freeze for GetMessageError
impl RefUnwindSafe for GetMessageError
impl Send for GetMessageError
impl Sync for GetMessageError
impl Unpin for GetMessageError
impl UnsafeUnpin for GetMessageError
impl UnwindSafe for GetMessageError
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