pub struct HxEvent {
pub name: String,
pub data: Option<Value>,
}Expand description
Represents a client-side event carrying optional data.
Fields§
§name: String§data: Option<Value>Available on crate feature
serde only.Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HxEvent
impl RefUnwindSafe for HxEvent
impl Send for HxEvent
impl Sync for HxEvent
impl Unpin for HxEvent
impl UnwindSafe for HxEvent
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