pub enum AttachToDmMessageError {
Status400(ApiError),
Status401(ApiError),
UnknownValue(Value),
}Expand description
struct for typed errors of method attach_to_dm_message
Variants§
Trait Implementations§
Source§impl Clone for AttachToDmMessageError
impl Clone for AttachToDmMessageError
Source§fn clone(&self) -> AttachToDmMessageError
fn clone(&self) -> AttachToDmMessageError
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 AttachToDmMessageError
impl Debug for AttachToDmMessageError
Source§impl<'de> Deserialize<'de> for AttachToDmMessageError
impl<'de> Deserialize<'de> for AttachToDmMessageError
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 AttachToDmMessageError
impl RefUnwindSafe for AttachToDmMessageError
impl Send for AttachToDmMessageError
impl Sync for AttachToDmMessageError
impl Unpin for AttachToDmMessageError
impl UnsafeUnpin for AttachToDmMessageError
impl UnwindSafe for AttachToDmMessageError
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