pub fn new(
        event_type: impl ToString,
        component_name: impl ToString,
        component_instance: impl ToString,
    ) -> Self {
        Self::new_with_time(Utc::now(), event_type, component_name, component_instance)
    }
/// Create a new Event at the current time.
Create a new Event at the current time.
Create a new Event at the current time .
pub fn new(
        event_type: impl ToString,
        component_name: impl ToString,
        component_instance: impl ToString,
    ) -> Self {
        Self::new_with_time(Utc::now(), event_type, component_name, component_instance)
    }
pub fn new ( event_type : impl ToString , component_name : impl ToString , component_instance : impl ToString , ) -> Self { Self :: new_with_time ( Utc :: now ( ) , event_type , component_name , component_instance ) }
Create a new Event at the current time.
Create a new Event at the current time .
event_type
impl ToString
component_name
impl ToString
component_instance
impl ToString