#[non_exhaustive]pub struct CapturedTauriEvent {
pub name: String,
pub payload: String,
pub timestamp: String,
}Expand description
A Tauri event captured from the application’s native event bus.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringEvent name (e.g. “notification-added”, tauri://focus).
payload: StringSerialized event payload.
timestamp: StringISO 8601 timestamp.
Implementations§
Trait Implementations§
Source§impl Clone for CapturedTauriEvent
impl Clone for CapturedTauriEvent
Source§impl Debug for CapturedTauriEvent
impl Debug for CapturedTauriEvent
Auto Trait Implementations§
impl Freeze for CapturedTauriEvent
impl RefUnwindSafe for CapturedTauriEvent
impl Send for CapturedTauriEvent
impl Sync for CapturedTauriEvent
impl Unpin for CapturedTauriEvent
impl UnsafeUnpin for CapturedTauriEvent
impl UnwindSafe for CapturedTauriEvent
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