pub enum JmapEmailCopyItemError {
AlreadyExists {
description: Option<String>,
},
NotFound {
description: Option<String>,
},
InvalidProperties {
description: Option<String>,
properties: Vec<String>,
},
Unknown,
}Expand description
Per-object error returned in Email/copy responses (RFC 8621 §4.10).
Variants§
AlreadyExists
The email already exists in the destination account (RFC 8621 §4.10).
NotFound
Standard set error (RFC 8620 §5.3): target id not found.
InvalidProperties
Standard set error (RFC 8620 §5.3): one or more properties were invalid.
Fields
Unknown
Catch-all for set errors not modelled above.
Trait Implementations§
Source§impl Clone for JmapEmailCopyItemError
impl Clone for JmapEmailCopyItemError
Source§fn clone(&self) -> JmapEmailCopyItemError
fn clone(&self) -> JmapEmailCopyItemError
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 JmapEmailCopyItemError
impl Debug for JmapEmailCopyItemError
Source§impl<'de> Deserialize<'de> for JmapEmailCopyItemError
impl<'de> Deserialize<'de> for JmapEmailCopyItemError
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 JmapEmailCopyItemError
impl RefUnwindSafe for JmapEmailCopyItemError
impl Send for JmapEmailCopyItemError
impl Sync for JmapEmailCopyItemError
impl Unpin for JmapEmailCopyItemError
impl UnsafeUnpin for JmapEmailCopyItemError
impl UnwindSafe for JmapEmailCopyItemError
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