pub enum JmapEmailSetItemError {
TooManyKeywords {
description: Option<String>,
},
TooManyMailboxes {
description: Option<String>,
},
BlobNotFound {
description: Option<String>,
},
NotFound {
description: Option<String>,
},
InvalidPatch {
description: Option<String>,
},
WillDestroy {
description: Option<String>,
},
InvalidProperties {
description: Option<String>,
properties: Vec<String>,
},
Singleton {
description: Option<String>,
},
Unknown,
}Expand description
Per-object error returned in Email/set responses (RFC 8621 §4.7).
Variants§
TooManyKeywords
The email would exceed the server’s keyword limit (RFC 8621 §4.7).
TooManyMailboxes
The email would be in too many mailboxes (RFC 8621 §4.7).
BlobNotFound
One or more blob IDs in the email were not found (RFC 8621 §4.7).
NotFound
Standard set error (RFC 8620 §5.3): target id not found.
InvalidPatch
Standard set error (RFC 8620 §5.3): patch could not be applied.
WillDestroy
Standard set error (RFC 8620 §5.3): would destroy an object already queued for destruction in the same request.
InvalidProperties
Standard set error (RFC 8620 §5.3): one or more properties were invalid.
Singleton
Standard set error (RFC 8620 §5.3): tried to create/destroy a server-managed singleton.
Unknown
Catch-all for set errors not modelled above.
Trait Implementations§
Source§impl Clone for JmapEmailSetItemError
impl Clone for JmapEmailSetItemError
Source§fn clone(&self) -> JmapEmailSetItemError
fn clone(&self) -> JmapEmailSetItemError
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 JmapEmailSetItemError
impl Debug for JmapEmailSetItemError
Source§impl<'de> Deserialize<'de> for JmapEmailSetItemError
impl<'de> Deserialize<'de> for JmapEmailSetItemError
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 JmapEmailSetItemError
impl RefUnwindSafe for JmapEmailSetItemError
impl Send for JmapEmailSetItemError
impl Sync for JmapEmailSetItemError
impl Unpin for JmapEmailSetItemError
impl UnsafeUnpin for JmapEmailSetItemError
impl UnwindSafe for JmapEmailSetItemError
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