pub struct EventError {
pub message: String,
pub code: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
Error payload shared by turn/item failures.
Fields§
§message: String§code: Option<String>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for EventError
impl Clone for EventError
Source§fn clone(&self) -> EventError
fn clone(&self) -> EventError
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 EventError
impl Debug for EventError
Source§impl<'de> Deserialize<'de> for EventError
impl<'de> Deserialize<'de> for EventError
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 EventError
impl RefUnwindSafe for EventError
impl Send for EventError
impl Sync for EventError
impl Unpin for EventError
impl UnsafeUnpin for EventError
impl UnwindSafe for EventError
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