#[cfg(not(feature ="std"))]usealloc::string::String;usecore::time::Duration;/// An Event
#[derive(Default, Debug, Eq, PartialEq, Clone)]pubstructEvent{/// The event name if given
pubevent: String,
/// The event data
pubdata: String,
/// The event id if given
pubid: String,
/// Retry duration if given
pubretry:Option<Duration>,
}