pub struct ErrorEvent {
pub sf: Option<String>,
pub s: Option<u64>,
pub op: Option<u64>,
pub msg: String,
pub sheet: Option<String>,
pub id: Option<String>,
pub raw: Map<String, Value>,
}Expand description
error: a rejected op, message, stylesheet or element.
Fields§
§sf: Option<String>The surface, when the message named one.
s: Option<u64>The frame.
op: Option<u64>The op’s index in the frame.
msg: StringWhat went wrong.
sheet: Option<String>The stylesheet.
id: Option<String>The element.
raw: Map<String, Value>The event as received.
Trait Implementations§
Source§impl Clone for ErrorEvent
impl Clone for ErrorEvent
Source§impl Debug for ErrorEvent
impl Debug for ErrorEvent
Source§impl Default for ErrorEvent
impl Default for ErrorEvent
Source§impl<'de> Deserialize<'de> for ErrorEvent
impl<'de> Deserialize<'de> for ErrorEvent
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
Source§impl PartialEq for ErrorEvent
impl PartialEq for ErrorEvent
impl StructuralPartialEq for ErrorEvent
Auto Trait Implementations§
impl Freeze for ErrorEvent
impl RefUnwindSafe for ErrorEvent
impl Send for ErrorEvent
impl Sync for ErrorEvent
impl Unpin for ErrorEvent
impl UnsafeUnpin for ErrorEvent
impl UnwindSafe for ErrorEvent
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