Skip to content

Commit

Permalink
Derive additional useful traits for ResponseCode
Browse files Browse the repository at this point in the history
  • Loading branch information
leftmostcat committed Nov 27, 2024
1 parent 36d9b24 commit 8cc5c2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,11 @@ pub enum ResponseClass {
/// any.
///
/// See <https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/responsecode>
#[derive(Clone, Debug, Deserialize, PartialEq)]
#[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq)]
pub enum ResponseCode {
#[default]
NoError,

ErrorAccessDenied,
ErrorAccessModeSpecified,
ErrorAccountDisabled,
Expand Down

0 comments on commit 8cc5c2b

Please sign in to comment.