Struct fruently::event_record::Event
[−]
[src]
pub struct Event<T: Serialize> { /* fields omitted */ }
Methods
impl<T: Serialize> Event<T>
[src]
pub fn new(event_time: EventTime, record: T) -> Event<T>
[src]
pub fn get_record(&self) -> &T
[src]
pub fn get_event_time(&self) -> &EventTime
[src]
Trait Implementations
impl<T: Debug + Serialize> Debug for Event<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: Clone + Serialize> Clone for Event<T>
[src]
fn clone(&self) -> Event<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: PartialEq + Serialize> PartialEq for Event<T>
[src]
fn eq(&self, __arg_0: &Event<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Event<T>) -> bool
[src]
This method tests for !=
.