pub struct JmapSetError {
pub type: String,
pub description: Option<String>,
pub properties: Vec<String>,
}Expand description
Per-object error returned in Foo/set responses (RFC 8620 §5.3).
Fields§
§type: StringThe wire error type (invalidProperties, forbidden, …).
description: Option<String>Optional human-readable detail.
properties: Vec<String>The properties the error relates to, when applicable.
Trait Implementations§
Source§impl Clone for JmapSetError
impl Clone for JmapSetError
Source§fn clone(&self) -> JmapSetError
fn clone(&self) -> JmapSetError
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 JmapSetError
impl Debug for JmapSetError
Source§impl<'de> Deserialize<'de> for JmapSetError
impl<'de> Deserialize<'de> for JmapSetError
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 JmapSetError
impl RefUnwindSafe for JmapSetError
impl Send for JmapSetError
impl Sync for JmapSetError
impl Unpin for JmapSetError
impl UnsafeUnpin for JmapSetError
impl UnwindSafe for JmapSetError
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