Struct ng_log::NgEvent [] [src]

pub struct NgEvent {
    pub timestamp: String,
    pub event_class: Option<String>,
    pub event_id: String,
    pub event_params: Vec<String>,
}

A type representing an ngLog event.

Fields

A floating-point value representing the elapsed time since gameplay began.

The category to which this event belongs, if any.

The type of this event.

Optional data points associated with this event.

Methods

impl NgEvent
[src]

Constructs a new NgEvent instance from the given arguments.

Constructs a new NgEvent instance from the given input string.

Failures

If the given data is malformed, this method returns an std::io::Error instance describing the error.

Trait Implementations

impl ToString for NgEvent
[src]

Converts the given value to a String. Read more