pub enum JmapEmailImportItemError {
InvalidEmail {
description: Option<String>,
},
NotFound {
description: Option<String>,
},
InvalidProperties {
description: Option<String>,
properties: Vec<String>,
},
Unknown,
}Expand description
Per-object error returned in Email/import responses (RFC 8621 §4.9).
Variants§
InvalidEmail
The message body was not a valid RFC 5322 message (RFC 8621 §4.9).
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 JmapEmailImportItemError
impl Clone for JmapEmailImportItemError
Source§fn clone(&self) -> JmapEmailImportItemError
fn clone(&self) -> JmapEmailImportItemError
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 JmapEmailImportItemError
impl Debug for JmapEmailImportItemError
Source§impl<'de> Deserialize<'de> for JmapEmailImportItemError
impl<'de> Deserialize<'de> for JmapEmailImportItemError
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 JmapEmailImportItemError
impl RefUnwindSafe for JmapEmailImportItemError
impl Send for JmapEmailImportItemError
impl Sync for JmapEmailImportItemError
impl Unpin for JmapEmailImportItemError
impl UnsafeUnpin for JmapEmailImportItemError
impl UnwindSafe for JmapEmailImportItemError
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