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